FORTRAN Unit Test Framework, written in FORTRAN 95. So that all FORTRAN features can be tested. FRUIT has assertion, fixture, setup, teardown, report, spec, driver generation. Rake used as build tool. Tutorials at

The core testing part is in FORTRAN, this part can be used independent of the Ruby codes.

The Ruby code is to make fixtures and reports easier.

Rake is to build the project elegantly. This project also demonstrate a new way to build mixed language code in an alternative way than Make.

Most of the FORTRAN are important in nature, used in nuclear and aerospace codes, etc, and maintained and written actively. Please help to bring TDD practices to the FORTRAN community. The change could be very hard, personally, I quit, since I could not make the change. I hope your organization will be successful.

Enjoy a cup of fruit while maintaining FORTRAN !

Andrew Hang Chen and other maintainers who feel importance of TDD in cr

Project Samples

Project Activity

See All Activity >


BSD License

Follow FORTRAN Unit Test Framework (FRUIT)

FORTRAN Unit Test Framework (FRUIT) Web Site

Other Useful Business Software

WhatsUp® Gold - Start A Free 30-Day Trial WhatsUp® Gold - Start A Free 30-Day Trial Icon
WhatsUp® Gold - Start A Free 30-Day Trial Icon

All-in-one monitoring of your entire infrastructure with the industry's most user friendly pricing. Free trial of our award-winning software

If you are like the rest of our user community, your IT team is busy. With pressure to deliver on-time projects, you don’t have a lot of time to spend making your management tools work. You need network monitoring tools that work for you. You want tools that makes it easy to find performance issues before your users do and resolve them before they impact the business. That’s why tens of thousands of customers around the world love WhatsUp Gold.
How many devices do you monitor on your company's network?
One last question before you visit our site:

When do you plan to purchase a network performance monitoring solution?

Rate This Project

Login To Rate This Project

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Great unit testing tool. Test drivers can be written by hand or created automatically by a ruby script. If the drivers are hand-crafted it is a pure Fortran tool. Just the link to the documentation is broken. Discussion gives a hint where to find it and Mike Jackson's blog entry (A look at FORTRAN unit test frameworks) is useful, too.

  • easy to use. But I'm not sure if it is thread safe.

    1 user found this review helpful.
  • Have been using it for almost a year now (just the Fortran part without the Ruby) and it has everything I need. And it is super easy to use and helped me to find countless bugs. Awesome!

    1 user found this review helpful.
  • I have tested only a small part of functionality of FRUIT(without ruby etc) and this part is already a very polished and useful fortran testing module. You can write tests for your program with only few lines of additinal code (in fortran). And you are free to store testing part in your source code (and switch it on f.e. with some preprocessor instruction) or to build up a complete hierarchy of test code as a library/module or additional program.

    1 user found this review helpful.
  • Mike Jackson wrote a good review of FRUIT. It compared FRUIT and other FORTRAN unit testing framework. Please search: "A look at FORTRAN unit test frameworks". Andrew Chen

Read more reviews >

Additional Project Details

Intended Audience


User Interface


Programming Language

Fortran, Ruby