THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
$>cd geronimo/testsuite $>mvn archetype:create \ -DarchetypeGroupId=org.apache.geronimo.plugins \ -DarchetypeArtifactId=geronimo-archetype-testsuite \ -DarchetypeVersion=2.0-SNAPSHOT \ -DartifactId=foonewFunc-testsuite \ -Dversion=2.0-SNAPSHOT |
You should now have a template testsuite named foo newFunc-testsuite under your geronimo/testsuite directory.
This maven project is wholly self-sufficient. It starts and stops the server. It does not have any tests to run yet. It even has surefire reports for the server start/stop executions.
Modifying the template to suit your function tests
...
- Edit the newFucn-testsuite/pom.xml and replace the <artifactId> value to match the new directory name.
- Change the newFunc-testsuite/testset-1 directory name to reflect your testset name (say, basic-testset).
- Edit the newFunc-testsuite/basic-testset/pom.xml and replace the <artifactId> element s values value to match the new directory name and parent directory name.
- Populate newFunc-testsuite/basic-testset project with your tests.
...