Tuesday, November 25, 2008

djUnit -- coverage unit testing

Just found a great eclipse plug-in which is really helpful when you are writing jUnit tests. It is called djUnit, and it will generate a coverage report within eclipse for the test(s) you are running. It will also show you in your eclipse source editor for the class(es) under test which lines are not covered!

You can add it to your eclipse using the following update site :
http://works.dgic.co.jp/djunit/update/3.3.x/site.xml

Using this should be great for ensuring your tests provide good coverage, without having to run the separate coverage report at the project level.

No comments:

Post a Comment