28 Jan
2008
28 Jan
'08
4:54 a.m.
Hi, I'm beginning to use Boost.Test, I decided to create a test suite (with BOOST_AUTO_TEST_SUITE) for each module to test, and various test cases (with BOOST_AUTO_TEST_CASE) in each suite. I was wondering is it exist any macro to define functions to be executed at: - test suit initialization: execute a function before any test in the test suite - test suit finalization: execute a function after any test in the test suite - test setup: execute a function before each test - test tear down: execute a function after each test Is there an easy way to do what I need? Many thanks, Hernan