Hello all,

I am using Jacoco inside a project, to compute instruction coverage of test 
methods.

For now, I could only count the instruction coverage at test class level. I 
would to know if it is possible to count the instruction coverage at test 
method level.

For instance, I have example.Example, which is testes by 
example.TestSuiteExample. The test class contains 2 test methods test1 and 
test2. 

Thanks to the CoverageBuilder and the Analyzer, I'm able to measure the 
number of instructions covered by the class example.TestSuiteExample. 

However, I would like to know the number of instruction covered by test1 
and test2 independently. For now, I found a work around: I run Jacoco for 
each test method, one by one. 

But this is costly in terms of time computation.

Would mind to indicate me if there is a way to log at the test method level 
instead of at the test class level? 

If not, there is a way to implement it?

Best regards,

-- Benjamin DANGLOT.

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/5a09a058-be1f-478b-922b-242d1b385cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to