Overview
Install
3 – Execute the UnitTests: java org.spiderunit.tests.AllTests
Using SpiderUnit standalone
spi.setVerbose(false);
spi.addPagePlugin("org.spiderunit.plugins.images.ImagesAnalyzer");
spi.setMaxLinks(10);
spi.run();
spi.report();
Using SpiderUnit in JUnit tests
Using SpiderUnit as an ANT Task
<taskdef classname="org.spiderunit.ant.SpiderAntTask" name="spider">
<classpath>
<pathelement location="/opt/spiderunit/spiderunit.jar"/>
</classpath>
<classpath>
<fileset dir="/opt/httpunit-1.5.1">
<include name="jars/*.jar"/>
<include name="lib/httpunit.jar"/>
</fileset>
</classpath>
</taskdef>
<spider url="http://www.slashdot.org” verbose="yes" maxlinks="60" linksdepth="1">
</spider>
</target>
1 – fully multi-threaded and finish basic plugins for SpiderUnit (will be version 0.1.0)
2 – develop some plugins to test security of web applications (will be version 0.2.0)