Boost logo

Boost Users :

Subject: Re: [Boost-users] boost 1.38 test suite in separate files
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-07 19:21:33


AMDG

Nu Ai Tang wrote:
> In the documentation from boost 1.38 (in the Unit Test Framework),
> there is this example if having multiple test suits. (Example follows..)
> My question is how can this be broken up and placed into different
> files? For example, the files could be testSuite1.cpp,
> testSuite2.cpp, and runTheseTestSuite.cpp.

As long as you only define BOOST_TEST_MODULE in one translation unit
it should be fine.

In Christ,
Steven Watanabe


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