Posted By: Bil Kleb
Date: 2008-04-01 02:10
Summary: funit 0.10.0 Released
Project: NASA.rb Projects

funit version 0.10.0 has been released!

FUnit is a unit testing framework for Fortran.

Unit tests are written as Fortran fragments that use a small
set of testing-specific keywords and functions. FUnit transforms
these fragments into valid Fortran code, compiles, links, and
runs them against the code under test.

FUnit is {opinionated software}[http://www.oreillynet.com/pub/a/network/2005/08/30/ruby-rails-david-heinemeier-hansson.html], which values convention over
configuration. Specifically, FUnit,
* requires a Fortran 95 compiler,
* only supports testing routines contained in modules,
* requires tests to be stored along side the code under test, and
* requires test files to be named appropriately.

Changes:

### 0.10.0 / 2008-03-30 (all courtesy of Diego Virasoro)

* 4 major enchancements
* User can now use 'funit --clean' to remove the generated files
* Source directory and test directory can be different: specify
source dir with -s (or --source) flag
* Only the minimum number of files that need recompilation are compiled
via makefile
* The .fun file name is not constrained anymore, but now each test suite
must be surrounded by 'test_suite name' and 'end test_suite', where name
is the name of the module to be tested
* Multiple test suites can exist inside the same file

* 5 minor enchancements
* Change blocks nomenclature: beginTest -> test and endTest -> end test
(and similarly for setup and teardown)
* Change assertions nomenclature (eg. IsEqual -> assert_equal)
* Added one new assertion: assert_array_equal
* Added a summary of all the test suites results, printed at the end
* Minor code clean-up

Latest News
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58
mime-types 1.23 Released
    Austin Ziegler - 2013-04-21 01:41
diff-lcs 1.2.4 Released
    Austin Ziegler - 2013-04-21 00:08

 

Forums | Admin

Discussion Forums: funit-0.10.0-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post