计划切换到 Catch unit test framework for c++ .
我需要测试结果是junit报告格式,我只是想确认它是否有那个能力。
最佳答案
是的,确实如此。
您可以通过添加生成一个 JUnit 兼容的 XML 报告
-r junit
到编译的 Catch 测试套件的命令行(参见 Integration with build systems)。
关于c++ - catch单元测试框架支持junit风格的测试报告吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31014683/