I have the following command :
java -javaagent:jmockit.jar -cp ./out:junit.jar:hamcrest-core-1.3.jar org.junit.runner.JUnitCore TestCompareNumbers
where TestCompareNumbers is my test class for which i want a coverage report.
The result is :
JUnit version 4.12-beta-3
.....
Time: 0.011
OK (5 tests)
But a coverage report file hasnt been generated. I guess that Ive missed an option, I searched on google but i have no answer for that. Thanks!