|
Boost Users : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-06-20 17:11:15
Ãkos Maróy <akos <at> maroy.hu> writes:
>
> 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 <boost/test/unit_test.hpp>
Only one file should define BOOST_TEST_MODULE, after all - you don't need to
repeat the name of your test module twice ;)?
Gennadiy
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net