问题
Is there a way to print a summary of the tests run in boost unit test. In particular, can a listing of the failed tests be made?
I'm having a hard time locating failing tests in the output (especially when the tests have their own output). I already set BOOST_TEST_LOG_LEVEL in order to show enter/exit, but that isn't enough to locate the failing tests.
回答1:
Use the option: --report_level=detailed
It will report all your tailing test cases and suites.
来源:https://stackoverflow.com/questions/10620712/how-to-print-test-summary-using-boost-unit-test