This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: IDEA and Emma
Feed Title: Logemann Blog
Feed URL: http://www.logemann.org/blojsom/blog/default/?flavor=rss2
Feed Description: Marc's thoughts on Java and more
No its not a new TV soap opera but the new IDEA 6. Of course its old news for all those IDEA EAP users. The best feature from point of view is the new integrated code coverage presented by emma and the support of JUnit4. In the editor pane you can now easily see what methods are test covered.
As you can see, the getFormattedWeight() method is covered whereas getFormattedPrice() is not.
In the project pane you see the coverage percentage.
IMO its a great way to do things without ANT with the advantage to have instant feedback while coding which classes are in a bad shape. Before i always had to consult the latest coverage html report and search for non-tested code there. So it ended up in switching back and forth.