我正在执行一项rake任务,以进行更多的操作。
Eg: rake test:sample
Finished in 66.951185957 seconds.
1 tests, 256 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
0.01 tests/s, 3.82 assertions/s
我想将rake任务的整体最终结果(例如通过/失败的测试次数以及文件名,断言,错误等)存储在index.html这样的文件中,这将为coverage / index.html中的rspec测试生成。我在耙任务中使用Test :: Unit。
谁能告诉我解决方案。
我们可以使用ci_reporter gem生成报告。它将以xml格式生成。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句