What to use for code coverage? Clover seems the only option but costs (which I will probably buy when my project makes some money). Emma and Cobertura seem to be dead, IDEA code coverage doesn’t work - obviously - with maven. Any ideas?


7 Responses to “Current code coverage tools (for maven)?”  

  1. Gravatar Icon 1 french_c

    If you are about to spend money you might consider looking into teamcity. You get Idea code inspections and maven2 serverside.

    .oO(Since I did not test teamcity so far please share your experiences)

  2. Gravatar Icon 2 stephan

    Good idea, didn’t think of that, would be an excuse to try TeamCity (which I wanted to try since I’ve first heard of … ;-)

  3. Gravatar Icon 3 Brett Porter

    IDEA uses EMMA under the hood so you might want to give it a second look. I haven’t tried their Maven integration recently but I know there is a plugin out there for it.

    On the other hand, while Cobertura isn’t progressing at a very rapid speed, the functionality that is there works pretty well already and is what I still use most of the time. Not having it in the IDE is a drawback though.

  4. Gravatar Icon 4 Oliver

    I second french_c, we do use Teamcity with maven2, code inspections servser side and remote runs for commits. The only drawback of course is that we did not settled yet on a final set of inspections.

  5. Gravatar Icon 5 stephan

    Then Teamcity, here we come!

  6. Gravatar Icon 6 Pete Moore

    Before you write Clover2 off altogether keep in mind that it isn’t really comparable to Emma/Corbutura - per test coverage is worth it’s weight in gold. As well as solid maven integration the intellij plugin http://plugins.intellij.net/plugin/?id=132 is very slick compared to the built in stuff.

    It sucks that it is expensive, but those 30 day evals are pretty easy to get ;)

    [I’m of course biased being from the Clover team]

  7. Gravatar Icon 7 stephan

    Clover is excellent.

    If I’d have enough money for Clover, I’d buy Clover, no discussions about that. I’m certain that it’s worth the price.

    If I don’t have the money - well I don’t have it. I need something else ;-)

Leave a Reply



RSS