Boost logo

Boost Users :

From: Stefan Shishkov (sshishkov_at_[hidden])
Date: 2007-07-18 10:02:08


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


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