Hi Gautam,

JaCoCo does not support “per test” coverage reports out of the box.

Using JaCoCo’s remoting APIs (see JMX or TCP output) you can trigger separate 
dumps for every test case and reset coverage data afterwards. From this you 
could create a separate report for every test.

A combined report (“which tests hit a specific line”) is not supported by 
JaCoCo’s reports.

Regards,
-marc


> On 25. Sep 2018, at 13:35, [email protected] wrote:
> 
> Hi there,
> We are using Jacoco to get code coverage for our External End to End tests, 
> by enabling jacoco agent in our Application's launch and its happily working. 
> Is there a way I can pass a "test name" etc from outside  such that 
> jacoco.exec which gets generated have markers on the lines getting covered by 
> the test.
> And that way when I merge all the jacoco dumps I would get "test name" tests 
> hitting from outside to my App's code. So just like for JUnit Coverage 
> Report, we show which test hit what line, can we get it for External Tests?
> Thanks
> Gautam
> 
> -- 
> 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/7e0bf564-29e5-4917-b970-bfc125354749%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/EAB787B6-1762-4074-A593-B5DD45E25F8B%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to