Coverage tests with Hansel

The add tests of your test in one way, you can/should extend your test suite with a coverage test. This is whare the hansel framework comes in. Also see the sheets.

To be able to use the Hansel package, you need to include the hansel.jar and bcel.jar files to the class path. As it has been put (by me) in the /usr/share/java directory, it is automatically included in the java classpath if you use this ant build.xml file. The TestCoverage class could be modelled like this one: shop.ShoppingTestCoverage.java To be able to use hansel under eclipse you must do the following:


Pieter van den Hombergh
Last modified: Mon Mar 13 12:35:06 CET 2006