![]() |
Home | Libraries | People | FAQ | More |
A test module runner is an orchestrator or a driver that, given the test tree, ensures the test tree is initialized, tests are executed and necessary reports generated. It performs the following operations:
The Unit Test Framework comes with the default test runner. There is no need to call it explicitly. The default generated test module's entry point invokes the default test runner. The default test runner is declared with the following signature:
namespace boost { namespace unit_test { typedef bool (*init_unit_test_func)(); int unit_test_main( init_unit_test_func init_func, int argc, char* argv[] ); } }
The test runner may return one of the following values:
Value |
Meaning |
---|---|
|
|
|
|
|
|
An advanced test runner may provide additional features, including interactive GUI interfaces, test coverage and profiling support.