Hi,

 

The documentation says I can use syntax like:

 

BOOST_AUTO_TEST_SUITE( test_suite_name );

 

// Test cases here

 

BOOST_AUTO_TEST_SUITE_END();

 

I’m getting no errors, but I find that even when using this, testing errors are reported as being in the master test suite.

 

Sample code:

 

BOOST_AUTO_TEST_SUITE( StringUtility );

 

BOOST_AUTO_TEST_CASE( getWords )

{

// This is only to test functionality of the test library

        BOOST_CHECK_EQUAL(1, 2);

}

 

BOOST_AUTO_TEST_SUITE_END();

 

Sample output (note that the other test case is from the main file):

 

Running 2 test cases...

./StringUtilityTest.cc(7): error in "getWords": check 1 == 2 failed [1 != 2]

 

*** 1 failure detected in test suite "War"

 

I’d appreciate any help figuring this out.

 

Thanks,

Brandon