How to print test summary using boost unit test

旧城冷巷雨未停 提交于 2020-01-02 06:27:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!