diff --git a/cactus/xdocs/features.xml b/cactus/xdocs/features.xml
index 5b7f3749..0d1657a3 100644
--- a/cactus/xdocs/features.xml
+++ b/cactus/xdocs/features.xml
@@ -10,40 +10,8 @@
-
- web.xml elements needed by
- Cactus to the user project web.xml file.
-
cactus.home.[container name] property.
+
- A sample application using Cactus is packaged within the Cactus plugin.
- Go to where you installed Maven and look into the
- plugins/maven-cactus-plugin-*/sample directory.
-
The latest changes are available here.
diff --git a/cactus/xdocs/properties.xml b/cactus/xdocs/properties.xml index 41044b16..9dfc90e4 100644 --- a/cactus/xdocs/properties.xml +++ b/cactus/xdocs/properties.xml @@ -14,148 +14,77 @@Default value is
-
- .
+ 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.
+
Default value is
- ${plugin.dir}/conf/excluded.properties.
+ Location of the Cactus test cases. Default value is
+ src/test-cactus.
+
Default value is
- ${maven.build.dir}/cactus.
+ Port on which to start the containers. Default value is
+ 8080.
+
Default value is
- src/test-cactus.
+ Location where the plugins puts temporary build-generated
+ files. Default value is ${maven.build.dir}.
+
Default value is
- ${maven.cactus.build.dir}/classes.
+ Lists of test classes that will be executed. Default value is
+ **/*Test*.java.
+
Default value is
- ${plugin.dir}/scripts.
+ Lists of classes that will be excluded in the tests. Default
+ value is **/AllTests.java,**/Test*All.java.
+
Default value is
- ${plugin.dir}/conf/web.xml.dvsl.
Default value is
- ${maven.cactus.build.dir}/test-reports.
Default value is
- ${maven.cactus.build.dir}/resources.
Default value is
- ${plugin.dir}/conf/web/jspRedirector.jsp.
Default value is
- ${plugin.dir}/conf/cactus.properties.
Default value is
- true.
Default value is
- **/*.class.
Default value is
- ${maven.war.build.dir}.
Default value is
- ${plugin.dir}/conf/web.xml.
Default value is
- 8080.
Default value is
- ${plugin.dir}/conf/containers.
Default value is
- text.
+ Name of the webapp context under which the application will be
+ deployed for executing the Cactus tests. Default
+ value is cactustest.
+
-
test-all goal that runs the tests on all
- defined containers.
- src/test-cactus directory in your project and
put your Cactus test classes in it (with the normal package directory
structure). Note that the location of the Cactus test sources can be
- configured through the maven.cactus.src.dir property.
+ configured through the cactus.src.dir property.
build.properties file in your project root
@@ -24,44 +24,16 @@
maven war. Note that in the future you would also be
- able to call the Ear plugin if your application is an EAR.
- maven cactus:test-tomcat-4x to run the tests with
- Tomcat 4.x. You can type maven -g for a full list of the
- available goals.
- maven cactus:generate site.
+ Then, simply type maven cactus:test to run the Cactus
+ tests.
- The plugin will automatically add what is needed for the Cactus tests - to your application WAR/webapp by repackaging it. In detail, it will - add the Cactus test classes, Cactus configuration files and Cactus jars - to your WAR/webapp. It will then deploy it, configure the container you - have chosen, start it, run the Cactus tests and stop the container. -
-
- It is possible (and recommended for performance reasons) to run all the
- goals in one Maven invocation. For example:
- maven war cactus:test-tomcat-4x cactus:generate site. You
- can also put that sequence in your project's maven.xml
- file.
-