DjUnit
From Wikipedia, the free encyclopedia
djUnit is an Eclipse plug-in that generates code coverage reports, tests with mock objects, and provides simple trace information about test cases. djUnit plugin is JUnit TestRunner with the custom classloader. djUnit ClassLoader modifies class in loading to JVM, and runs tests using the modified class. djUnit can perform tests of JUnit, and usage is easy.
Contents |
[edit] Coverage Report
djUnit uses jcoverage to generate a coverage report of the performed tests, and it can be checked on Eclipse. The results are shown on djUnit coverage view , task list and java source editor.
[edit] Testing using Virtual Mock Objects
djUnit uses ASM and BCEL, and has an added original extension. If Virtual Mock Objects is used, it enables creation of Mock Object at low cost, and it can also write simple tests.
[edit] Features
- djUnit is a test runner developed for performing safety and low cost unit tests.
- djUnit is faster.
- djUnit is much more reliable(i.e. less exceptions from the plugin itself).
- djUnit does not show the coverage of the test classes themselves.
[edit] References
- Download djUnit, http://works.dgic.co.jp/djwiki/Viewpage.do?pid=@646A556E697420446F776E6C6F6164
- http://works.dgic.co.jp/djunit/index.html
- http://open.ncsu.edu/se/tutorials/djunit/
[edit] See Also
sandip singh 10:02, 29 April 2008 (UTC)