boost::unit_test::framework needs fini_unit_test_suite

I have just run into an issue with using boost unit test. To initialize a test one must implement a function init_unit_test_suite. There needs to be an analogous fini_unit_test_suite so the test suite can properly release any resources acquired by the init method. Phil

"pwm"
I have just run into an issue with using boost unit test. To initialize a test one must implement a function init_unit_test_suite. There needs to be an analogous fini_unit_test_suite so the test suite can properly release any resources acquired by the init method.
I recommend you to upgrade to the 1.34 RC and use BOOST_GLOBAL FIXTURE instead. You might also want to switch to BOOST_AUTO_TEST_CASE once your init_unit_test_suite routine only responsible for test tree construction. Gennadiy
participants (2)
-
Gennadiy Rozental
-
pwm