
9 Jan
2007
9 Jan
'07
7:20 a.m.
here is my code: BOOST_AUTO_TEST_SUITE(myTestSuite) BOOST_AUTO_TEST_CASE(myFirstTestCase) { BOOST_CHECK_EQUAL(5, 2); } BOOST_AUTO_TEST_SUITE_END() the output is : Running 1 test case... d:/test/test.cpp(35): error in "myFirstTestCase": check 5 == 2 failed [5 != 2] *** 1 failure detected in test suite "Master Test Suite" so, my question is, why is the test case's name "myFirstTestCase", but the test suite's name changed into "Master Test Suite"? do i use the BOOST_AUTO_TEST_SUITE in a wrong way? if so, what's the correct usage? thanks in advance. -- Best Regards, Leo Jay