Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print test summary using boost unit test

Tags:

c++

boost-test

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.

like image 632
edA-qa mort-ora-y Avatar asked May 16 '12 14:05

edA-qa mort-ora-y


1 Answers

Use the option: --report_level=detailed

It will report all your tailing test cases and suites.

like image 117
Gennadiy Rozental Avatar answered Oct 11 '22 15:10

Gennadiy Rozental