18 Jul
2007
18 Jul
'07
2:02 p.m.
Hi, I'm using boost 1.33.1, but the question applies to 1.34 too. Is it possible to create tests suites that contain test cases from different translation units using only auto registration? Ex: in file1.cpp BOOST_AUTO_TEST_SUITE(BigSuite); auto-register test suites and cases here... BOOST_AUTO_TEST_SUITE_END(); in file2.cpp BOOST_AUTO_TEST_SUITE(BigSuite); auto-register other test suites and cases here... BOOST_AUTO_TEST_SUITE_END(); As result only one suite with name "BigSuite" should be registered. Best regards, Stefan