Home | Libraries | People | FAQ | More |
The BOOST_TEST_SUITE(
name
)
macro is used to create a new test suite named name
.
The new suite must be added to the master test suite in order for any test
cases in the suite to be executed.
static test_suite* init_unit_test_suite(int argc, char* argv[]) { test_suite* hello_suite = BOOST_TEST_SUITE("hello"); register_function(*hello_suite); register_method_static_instance(*hello_suite); register_method_function_instance(*hello_suite); framework::master_test_suite().add(hello_suite); return 0; }