Unit tests in Cloudy

Unit testing is discussed  here.

We use the  UnitTest++ lightweight unit testing framework for C++. A copy of the 1.3 distribution of UnitTest++ is included in the /library directory, and is built automatically when required.

A description of the methods is in an html file in the UnitTest++/docs directory.

The unit tests are located in files with names in the format TestXxxx.cpp in the Cloudy source directory. They are run by make test in the source directory. Code coverage by the tests is poor at present, but is focused on a few low-level support facilities with relatively wide impact.


Return to DeveloperPages

Return to main wiki page

Return to  nublado.org