Hi Christian,

you might try offline instrumentation for the class files.

If you’re adding your own class loaders you might also consider doing 
on-the-fly instrumentation within your class loaders. See our API example 
“CoreTutorial”: https://www.jacoco.org/jacoco/trunk/doc/api.html 
<https://www.jacoco.org/jacoco/trunk/doc/api.html>

Regards,
-marc


> On 14. Dec 2018, at 14:16, sormu...@gmail.com wrote:
> 
> Hi JaCoCo team,
> 
> I'm writing a JUnit 5 support library that isolates main/test/others classes 
> into dedicated class loaders. The first client of that library will be a 
> Maven Plugin similar to Surefire. As I want to support "code coverage" early 
> I'm thinking about ways how to enable this feature using JaCoCo.
> 
> At the moment, the new Maven Plugin executes tests "in-process" -- meaning 
> the JaCoCo agent has already to be on the Maven boot class-path. Right?
> 
> Is there another way to get coverage data from a running process? Am I 
> missing a/the point completely?
> 
> Cheers,
> Christian
> 
> -- 
> 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 jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/8eba6bfd-51bc-44a6-8197-c46694a61767%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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/76007C4B-EEAF-4EA3-8E8F-56823402BAF1%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to