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+un...@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.
At the moment, the new Maven Plugin executes tests "in-process" --
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d1ac0754-73e2-4572-b0d6-ba93529b8474%40googlegroups.com.
Thanks to both of you for mentioning those valid points. The new plugin will of course have a "fork option" that allows using jacoco et al like we are used to. Actually, the new plugin implementation started by calling the `junit-platform-console` program as an external process. I will re-introduce this mode later.
My question was related to the non-forked mode -- which will support jacoco soon with no user-interaction needed, because it is impossible.