ant clean
ant
ant test_all
or
ant -f buildTEST.xml
These commands are equivalent, and should show yield somthing like:
[junit] Running org.hamletsoft.enhydra.cactus.business.sample.SampleEnhydraAppTestCase
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.828 sec
[junit] Running org.hamletsoft.enhydra.cactus.business.sample.SampleEnhydraRedirectionTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.578 sec
ant -f buildTEST.xml start_enhydra
or
You should get a response similar to:
<?xml version="1.0" encoding="UTF-8" ?>- <testsuite name="org.hamletsoft.enhydra.cactus.business.sample.SampleEnhydraAppTestCase" tests="7" failures="0" errors="0" time="0.781"><testcase name="testReadOutputStream" time="0.375" /><testcase name="testPostMethod" time="0.062" /><testcase name="testGetMethod" time="0.047" /><testcase name="testSendParams" time="0.047" /><testcase name="testSendHeader" time="0.031" /><testcase name="testSendCookie" time="0.047" /><testcase name="testBasicAuthentication" time="0.047" /></testsuite></testsuites>and (respectively):
<?xml version="1.0" encoding="UTF-8" ?>- <testsuite name="org.hamletsoft.enhydra.cactus.business.sample.SampleEnhydraRedirectionTestCase" tests="2" failures="0" errors="0" time="0.11"><testcase name="testRedirection1" time="0.047" /><testcase name="testRedirection2" time="0.063" /></testsuite></testsuites>If you prefer the HTML format, just add
&xsl=junit-noframes.xsl
at the end of the above URLs, e.g.:
and