How do I get BOOST_TEST_MESSAGE to display on the screen?
问题 I'm fumbling my way through the Boost Unit Testing Framework and have set up a basic functioning unit test. I'm using BOOST_TEST_MESSAGE to let the user know which tests are running, but the messages don't display on the screen. For example: #define BOOST_TEST_MODULE MyTest #include <boost/test/included/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(MyTestSuite, MyTestFixture) BOOST_AUTO_TEST_CASE(MessageTest) { BOOST_TEST_MESSAGE( "no one sees this!" ); } BOOST_AUTO_TEST_SUITE_END(); I have tried