Reputation: 3344
Right now I use Jacoco to know the coverage of the whole test suite, but I would need to break down the coverage information by test case.
I need to create a program that does this since we need to automate a large suite. I guess this should be done by using the API...
Is there a way of doing this? I'm new to Jacoco, please help.
Upvotes: 0
Views: 428
Reputation: 8227
The TestNG plug in for Eclipse allows you to select and run an individual test case. You can then inspect the result of running that particular test case.
However, there does not seem to be a way to, for instance, click on a single line of code and query what test cases visited that line.
What other use cases did you have in mind?
Upvotes: 1