Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Nullary function based test case
Home > The Unit Test Framework > User's guide > Test organization > Nullary function based test case >
PrevNext
Nullary function based test case

The most widely used are test cases based on a nullary function. These include nullary free functions, nullary function objects created with boost::bind and nullary boost::function instances. The simplest is a free function and the UTF provides facilities to create a free function based test case that is automatically registered. Here are the two construction interfaces:


PrevUpHomeNext