Current code coverage tools (for maven)?
Published July 17th, 2008 in Code Coverage, MavenWhat 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?
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)
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 … ;-)
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.
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.
Then Teamcity, here we come!
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]
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 ;-)