Hi Henrik,
some remarks about offline instrumentation that may help you to track
down the issue:
1) If you just add the agent to the classpath it has to be activated by
at least one offline instrumented class. If not instrumented class is
executed at all the agent will not be activated and no coverage data
will be written. You can verify whether a class has been actually
instrumented by looking at the class file with e.g. javap and see
whether a field named $jacocoData is present.
2) By default the jacoco.exec file is written to the working directory
of the application under test. Are you sure what the working directory
for your IT is? The output location can be modified by setting the
system property "jacoco-agent.destfile".
3) The java process must terminate normally, otherwise coverage data
cannot be written. For example if you kill the Java process, no exec
file is written.
Best 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.
> For more options, visit
https://groups.google.com/groups/opt_out.