问题
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