I'm trying to get coverage of integration tests that, with hit multiple JVMs, so currently I'm starting all of the JVMs with a single jacoco-agent-runtime.jar, and setting the destFile option to point to a single jacoco.exec file.
Have anyone else tried this? If so, has anyone had any problems?
For example, what if 2 JVMs stop at the same time and try to dump the execution data to that single .exec file?
Any thoughts?
Thanks
http://www.eclemma.org/jacoco/trunk/doc/changes.html
"Support for parallel test execution: Different agents can now safely write to the same *.exec file (GitHub #52 <https://github.com/jacoco/jacoco/pull/52>)."