2011/08/05 - Jakarta Cactus has been retired.

For more information, please explore the Attic.

Goals

Goal td
cactus:compile Compiles the Cactus tests.
cactus:cactifywar Creates a Cactus-ready WAR from the application WAR. To be used in WAR projects.
cactus:cactifyear Creates a Cactus-ready EAR to unit test EJBs. To be used in EJB projects.
cactus:test Run the Cactus tests (packaged in a WAR) on the containers for which you have defined a cactus.home.[container td] property.
cactus:single Run a single Cactus test (packaged in a WAR) on the containers for which you have defined a cactus.home.[container td] property. Pass the td of the testcase in using -Dtestcase=my.single.TestCase.
cactus:match Run all Cactus tests (packaged in a WAR) that match a property -Dtestmatch=MyTestCase on the containers for which you have defined a cactus.home.[container td] property.
cactus:test-ear Run the Cactus tests (packaged in an EAR) on the containers for which you have defined a cactus.home.[container td] property.
cactus:report Generate an HTML report for the Cactus tests that been run. In order to get this report as part of the generated web site, add the following to your project.xml:
  <reports>
    [...]
    <report>maven-cactus-plugin</report>
    [...]
  </reports>
cactus:jar Generate a jar containing the Cactus test classes.
cactus:jar-install Installs the Cactus jar in your local Maven repository. This is useful if you wish to put Cactus test classes in one Maven project and execute the Cactus tests in another Maven project.