catch单元测试框架支持junit风格的测试报告吗?
Does the catch unit test framework support junit-style test reports?
计划切换到 Catch unit test framework for c++。
我需要测试结果为junit报告格式,我只是想确认它是否具有该功能。
少量reading揭示:
Other core features
JUnit xml output is supported for integration with third-party tools, such as CI servers.
是的,确实如此。
您可以通过添加
生成一个兼容 JUnit 的 XML 报告
-r junit
到已编译的 Catch 测试套件的命令行(参见 Integration with build systems)。
计划切换到 Catch unit test framework for c++。
我需要测试结果为junit报告格式,我只是想确认它是否具有该功能。
少量reading揭示:
Other core features
JUnit xml output is supported for integration with third-party tools, such as CI servers.
是的,确实如此。
您可以通过添加
生成一个兼容 JUnit 的 XML 报告-r junit
到已编译的 Catch 测试套件的命令行(参见 Integration with build systems)。