#include // you can also place these into a .hpp you include if // they're too numerous to manage // this is how you do it directly namespace sample1 { extern fuc2::Set TESTS; } // this macro jsut does the above for you TEST_SET(sample_failing); using namespace fuc2; int main(int argc, char* argv[]) { std::vector tests{ sample1::TESTS, sample_failing::TESTS }; return run_tests(tests, argc, argv); }