I've used both Cobertura (free) and Clover (not-free, but free for FOSS projects meeting certain guidelines). I greatly prefer Clover, but will use Cobertura when circumstances dictate. Cobertura generates summary reports as well as show line coverage, so I would suggest starting there...
Maybe that means it's stable . Seriously, we implemented Emma in our central build about two years ago and haven't touched it since. It does everything we need it to and doesn't require we mess with it. I do think Ernest's comment is more likely, but I can hope.
Originally posted by Paul Wheaton: I grabbed cobertura and thought "I'll just fire this up, it will work great and then I'll pop back to the forum and say 'thanks everybody! it works great!'"
I'm surprised it isn't that easy. Emma took about 30 minutes to set up. There's a sample in PickWinners (in JavaRanch's SVN repository) if you want it. Of course that doesn't help if you want to use cobertura.
Anybody spot anything here that I'm not seeing?
Did you try <classpath refid="cobertura.classpath" /> ?
Joined: Aug 15, 2004
Yes these were there in the fileset dir. path, like all other libraries, but we need to include these separately, since not working without it.
This has been something a little on my back burner - something to do when I get a few minutes here and there.
So here is the final report.
I scrapped it all. It turns out that intellij has emma built in. I had a little trouble finding it, but I sent an email to their support and said "either I can't find it, or I would like to suggest a feature ..." and they replied in about two minutes with one sentence that gave me everything I needed to pull it off.