Hi Mark,
I think you asked this question before. My answer was:
https://groups.google.com/d/msg/jacoco/jK8vXyDUEwI/79tvhgpEqtEJ
Regards,
-marc
--
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/c887317b-367d-4a3e-be93-a785ad1caa38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Mark,
JaCoCo supports two modes:
1) Either JaCoCo Java agent (with on-the-fly instrumentation)
2) Or offline instrumentation
As stated in our documentation 1) is recommended. So no need to instrument class files.
So the only thing you need to do is to configure the JaCoCo agent for your test execution.
As the "coverage" task does not support yunit you can create the agent parameter with the "agent" task and store it in a Ant property. Then for the yunit task you need to add this to the JVM command line (please check yunit documentation for this).
Regards,
-marc
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/796f0385-567d-4cd9-acdd-12e70cc8b637%40googlegroups.com.
Great!
What about sharing your solution here?
Cheers,
-marc