Re:How to Write Your Own Java/Scala Debugger
by yoava on Tuesday September 24, 2013 @01:01PM
(#6439129)
It is a great tool, and I have used it. I have also used Emma.
Both use instrumentation at loading time, which is great (because it is transparent). However, both recommend to run tests twice because of the instrumentation. In both cases, the Maven plugin runs tests twice - once for testing, and once for coverage - which is a total waist of time.
I was thinking on using the debug interface to track coverage without instrumentation, those without the risk of modifying the tests.
I've been using it for the last year or two and love it! One of my favorite features is how easy it is to generate separate coverage information for unit tests vs. integration tests. Sonar provides excellent support for it, as well.
[1] http://www.eclemma.org/jacoco/trunk/doc/