Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-07-19 13:44:22


"Stefan Shishkov" <sshishkov_at_[hidden]> wrote in message
news:newscache$lbodlj$kgn$1_at_news.obs.bg...
> 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.

This is very reasonable. I've made the changes in my local copy to support
this. Unfortunately It won't make into cvs until I am done with docs update
in boostbook format.

Thanks,

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