Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlecommand
borderStylesolid
$>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

...

  1. Edit the newFucn-testsuite/pom.xml and replace the <artifactId> value to match the new directory name.
  2. Change the newFunc-testsuite/testset-1 directory name to reflect your testset name (say, basic-testset).
  3. 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.
  4. Populate newFunc-testsuite/basic-testset project with your tests.

...