
20 Jun
2008
20 Jun
'08
9:11 p.m.
Ákos Maróy
Hi,
I'm trying to use the boost unit test framework, and I have a question regarding automatic test module registration and the automatic definition of the init_unit_test_suite() function.
I'm organizing unit tests into a range of source files:
tests1.cpp tests2.cpp
where each file is set up as follows:
#define BOOST_TEST_MODULE moduleX #include
Only one file should define BOOST_TEST_MODULE, after all - you don't need to repeat the name of your test module twice ;)? Gennadiy