#include #define BOOST_AUTO_TEST_MAIN #include #define BOOST_LIB_NAME boost_unit_test_framework #include namespace A { BOOST_AUTO_TEST_SUITE(A); // "Master Test Suite/A/Foo" BOOST_AUTO_UNIT_TEST(Foo) { std::cout << "Foo in A" << std::endl; } // "Master Test Suite/A/Bar" BOOST_AUTO_UNIT_TEST(Bar) { std::cout << "Bar in A" << std::endl; } BOOST_AUTO_TEST_SUITE_END(); } namespace B { BOOST_AUTO_TEST_SUITE(B); // "Master Test Suite/B/Foo" BOOST_AUTO_UNIT_TEST(Foo) { std::cout << "Foo in B" << std::endl; } // "Master Test Suite/B/Bar" BOOST_AUTO_UNIT_TEST(Bar) { std::cout << "Bar in B" << std::endl; } BOOST_AUTO_TEST_SUITE_END(); }