[英]Boost Unit Test timing mechanism
Is there some built-in mechanism in the Boost Unit Test framework to check for timing issues. Boost单元测试框架中是否存在一些内置机制来检查时序问题。 For example to: 例如:
Report timing of every test 报告每次测试的时间
Check for tests exceeding a given time limit 检查是否超过给定时间限制的测试
I've tried to use the command line parameter such as --report_level or --log_level, but it didn't report anything related to timing. 我尝试使用命令行参数,例如--report_level或--log_level,但没有报告与计时相关的任何信息。
Thanks 谢谢
Leaving test case "my_test_1"; 离开测试用例“ my_test_1”; testing time: 220mks 测试时间:220mks
Leaving test case"my_test_2"; 离开测试用例“ my_test_2”; testing time: 219mks 测试时间:219mks
... ...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.