Boost logo

Boost Users :

From: Alexander Eisenhuth (newsuser_at_[hidden])
Date: 2006-02-08 04:54:00


Hello alltogether,

it seems, that the a test_case-failure (BOOST_ERROR("")), skips only the actual
test case, but all following tests are executed. Is that possible ? ... or am I
doing something wrong?

Here my code:
[...]
boost::shared_ptr<testTestExecutor> aInstance( new testTestExecutor );

// here happens a failure
pTestSuite->add(
        BOOST_CLASS_TEST_CASE(&testTestExecutor::setUp, aInstance));

// but this is also executed
pTestSuite->add(
        BOOST_CLASS_TEST_CASE(&testTestExecutor::testConstruction, aInstance));

pTestSuite->add(
        BOOST_CLASS_TEST_CASE( &testTestExecutor::testTestExecutorMethode, aInstance));
[...]

Can I configure that behaviour ?

Regards
Alexander


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