Menu

Generate coverage report from Hudson CI

Help
2011-11-23
2013-04-24
  • Paul Robinson

    Paul Robinson - 2011-11-23

    Hello,

    We need to generate a code coverage report every time our CI build runs on Hudson. In the past we have used Emma for this. My understanding is that Emma is no longer maintained and JaCoCo is its successor. However, I've been looking at the docs, and it seems that JaCoCo is just an eclipse plugin, so couldn't be ran from, say ant or Junit. The docs seem to say that I need to use Emma for this task, but I have concerns that it is no longer maintained.

    Could you explain what I am missing here?

    Thanks,

    Paul.

     
  • Marc R. Hoffmann

    Hi Paul,

    JaCoCo is a code coverage library with integrations for Ant, Maven and Eclipse, please find documentation here:

      http://www.eclemma.org/jacoco/trunk/

    Cheers,
    -marc

     
  • Paul Robinson

    Paul Robinson - 2011-11-23

    Marc,

    Thanks for the clarification. I've clearly got the wrong end of the stick somewhere.

    Thanks again,

    Paul.