Hi Ashar,
there is, but this requires some coding or investigation with other
tools like Sonar:
JaCoCo offers a runtime API (see here:
http://www.eclemma.org/jacoco/trunk/doc/api/org/jacoco/agent/rt/package-summary.html)
You could create your own test JUnit runner or listener which dumps
coverage data after every test through the API -- no need to launch a
new JVM n this case.
AFAIK Sonar provides such a test runner in place:
https://jira.codehaus.org/browse/SONARJAVA-94
Best regards,
-marc
On 11.04.14 20:24, [email protected] wrote:
Hi,
I need the unit test coverage for individual Junit tests for multiple large
projects.
Right now I am using the jacoco agent on the java commandline to run individual
junit tests and create exec files as per the process I read else where on this
group.
However this is proving to be too slow and takes hours when for large projects
compared to running EclEmma in eclipse which takes only ~30 secs for the whole
suite.
I want to know if there is a more efficient way to do.
Thank,
Ashar
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.