Boost logo

Boost :

Subject: [boost] [test] Problem with BOOST_TEST_MESSAGE
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-05-12 18:00:50


In testing out a library with Boost.Test I want to inject informational
messages that will appear in the output of the test results. When I use
BOOST_TEST_MESSAGE with the correct logging level my message appears in
the output if there is some sort of Boost.Test error during my tests.
However if my unit test does not have a Boost.Test error my
BOOST_TEST_MESSAGE does not appear. Needless to say I always want my
BOOST_TEST_MESSAGE messages to always appear in the output. Is there a
solution to this ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk