
8 Feb
2006
8 Feb
'06
9:54 a.m.
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