Boost logo

Boost :

From: Duane Murphy (duanemurphy_at_[hidden])
Date: 2001-10-31 02:38:53


--- At Tue, 30 Oct 2001 14:31:21 -0500, Mike Attili wrote:

>- Using BOOST_PARAM_TEST_CASE() to run a test case with a list
> of parameters does not create a new fixture for each test
> (i.e. the test class is not destroyed and created anew for
> each pass). This forces a requirement that these test cases
> leave the fixture in the same state after a test otherwise
> there may be spurious errors reported.

Speaking blindly, CppUnit (inherited from JUnit) has a setUp() and
tearDown() method for testSuites to address this situation. It also
allows for intialization of other elements of the test fixture.

..Duane


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk