|
Boost Users : |
Subject: Re: [Boost-users] boost 1.38 test suite in separate files
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-05-08 04:06:10
Steven Watanabe <watanabesj <at> gmail.com> writes:
>
> 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.
But! You can use single header variant of UTF in this case. You'll need to build
a library.
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