mardi 3 février 2015

JaCoCo specify tested method/class for coverage

I have a Java project that uses JUnit 4, Mockito 1.8.4 and JaCoCo 0.7.1.201405082137 for testing.


I want to be able to specify, for each test, which methods/classes should be considered for code coverage (something like PHPUnit @covers annotation ).


Is this achievable in the setup I'm using? Any alternatives that I could use to do this?


Aucun commentaire:

Enregistrer un commentaire