Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Enable use of Jacoco instead of EclEmma for code coverage. #22

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

The following enables Jacoco to be used for code coverage and report
generation.

  • Remove the eclemma agent.
  • Remove the code coverage profile for emma.
  • Created a profile for jacoco.
  • Enable generation of HTML and XML reports or code coverage.

This uses a mixture of Mavena and Ant to get the job done, as currently
the report goal for he jacoco-maven-plugin does not correctly report
instrumented classes outside of the test project. You have to specifically
tell it where the source files are and since the maven plugin doesn't look
outside it's directory we have to use the ant plugin to find the sources.

Output is generated in target/jacoco and target/jacoco/report. The html
reports can be made availble through jenkins. Working on an updated
XSLT to convert jacoco.xml to either emma or cobertura xml format for use
with jenkins/hudson plugins.

@kingargyle kingargyle Enable use of Jacoco instead of EclEmma for code coverage.
The following enables Jacoco to be used for code coverage and report
generation.

* Remove the eclemma agent.
* Remove the code coverage profile for emma.
* Created a profile for jacoco.
* Enable generation of HTML and XML reports or code coverage.

This uses a mixture of Mavena and Ant to get the job done, as currently
the report goal for he jacoco-maven-plugin does not correctly report
instrumented classes outside of the test project.  You have to specifically
tell it where the source files are and since the maven plugin doesn't look
outside it's directory we have to use the ant plugin to find the sources.

Output is generated in target/jacoco and target/jacoco/report.  The html
reports can be made availble through jenkins.  Working on an updated
XSLT to convert jacoco.xml to either emma or cobertura xml format for use
with jenkins/hudson plugins.
02fed2d

Closing since this is now ancient.

@kingargyle kingargyle closed this Mar 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment