Cactus Properties dIon Gillard Vincent Massol
Property Optional? Description
cactus.home.[container name] At least one container

Home directory of where you have installed the container on which you wish to run the Cactus tests. Valid container names are: tomcat4x, resin2x, orion1x, weblogic6x, weblogic7x and jboss3x.

cactus.src.dir Yes

Location of the Cactus test cases. Default value is src/test-cactus.

cactus.port Yes

Port on which to start the containers. Default value is 8080.

cactus.target.dir Yes

Location where the plugins puts temporary build-generated files. Default value is ${maven.build.dir}/cactus.

cactus.src.includes Yes

Lists of test classes that will be executed. Default value is **/*Test*.java.

cactus.src.excludes Yes

Lists of classes that will be excluded in the tests. Default value is **/AllTests.java,**/Test*All.java.

cactus.context Yes

Name of the webapp context under which the application will be deployed for executing the Cactus tests. Default value is cactustest.

cactus.junit.usefile Yes

Decides whether the test result will be printed to the console or not. Default value is false, meaning errors will be displayed on the console.

cactus.reports.dir Yes

Location of junit test reports for the Cactus tests. Default value is ${cactus.target.dir}/test-cactus-reports.

cactus.halt.on.error Yes

Decides whether to stop the build on test errors. Default value is true.

cactus.halt.on.failure Yes

Decides whether to stop the build on test failures Default value is true.

cactus.runner Yes

The JUnit Runner to use for executing the tests. Valid values are "text" and "swing". Default value is text.

Property Optional? Description
cactus.jboss3x.config.dir Yes

Location of the JBoss server configuration directory. Default value is ${cactus.home.jboss3x}.

cactus.jboss3x.config.name Yes

Name of the JBoss server configuration to use. Default value is default.