Combined test coverage report with jMockit

家住魔仙堡 提交于 2019-12-23 15:41:02

问题


I am using jmockit with Ant. For each test file run, an index.html file gets created/over-written in the coverage report folder.

For multiple test files, this index.html gets over-written.

I am looking for a combined report for all files. what should be done? I have read about using .ser files but I do not know how to create and then use them?


回答1:


Have a look here. The trick is to set

-Djmockit-coverage-output=merge

(or serial - read up on the differences in the link above).

Cheers,



来源:https://stackoverflow.com/questions/14704989/combined-test-coverage-report-with-jmockit

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