Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.1
-
None
-
Tomcat 5.5.4
Java 1.4.2
Description
The Ant documentation explains a lot about the Ant tasks created for Cactus (cactifywar, cactus, runservertests). If you have an existing container and you have configured that container with Cactus (for Tomcat, in the shared/lib and conf/web.xml), there is no documentation (as far as I could find) that says very simply: to run tests in a properly configured existing container, define the cactus.contextURL property and use the JUnit task as normal.
I just spent a very frustrating day or so needlessly trying to get the cactus or runservertests tasks working. You could save future developers a lot of trouble if this is made more clear in the documentation.