PSCF v1.1
Classes
Unit Test Framework

A framework for constructing unit tests for other classes. More...

Classes

class  CommandLine
 Abstraction of a C array of command line arguments. More...
 
class  CompositeTestRunner
 A TestRunner comprised of one or more child TestRunners. More...
 
class  ParamFileTest
 A UnitTest with a built-in input file. More...
 
class  TestRunner
 Abstract base class for classes that run tests. More...
 
class  UnitTest
 UnitTest is a base class for classes that define unit tests. More...
 
class  UnitTestRunner< UnitTestClass >
 Template for a TestRunner that runs test methods of an associated UnitTest. More...
 

Detailed Description

A framework for constructing unit tests for other classes.

The src/test directory contains source code for a simple unit test framework for C++ code. The library contains only header files, in which which all member functions are inlined. There are several simple programs that illustrate library usage in the directory src/test/examples/.

See also
Unit Tests