I make my way through the Boost Unit testing platform and set up the basic unit test. I use BOOST_TEST_MESSAGE so that the user knows which tests are running, but the messages do not appear 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 tried to define BOOST_TEST_LOG_LEVEL - all , but this has no effect. I got this idea on the Boost log-level page, but I think that the concept of the log cannot be related to what is actually displayed on the screen. Any ideas?
c ++ boost
quant
source share