Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel21

Objective

We have tests at the module level tests perform basic unit testing of the code in each module. We then have TCK tests that ensure Geronimo's compliance with the J2EE spec.  Now the integration tests introduces a level of testing that falls beyond the scope of the unit tests or the TCK tests. It performs system level tests of features and functionalities that Geronimo provides to the end users. Since Geronimo is an integration platform for the various open source technologies, this integration tests verifies and ensures such a succesful aggregation.

...

  • installing the server.
  • starting it.
  • invoking the tests under testset-n.
  • stopping the server.
  • creating surefire-reports for the tests in this suite.

Plugins support.

Anchor
geronimo-maven-plugin
geronimo-maven-plugin

geronimo-maven-plugin

http://geronimo.apache.org/maven/server/maven-plugins/geronimo-maven-plugin/index.html

...

See deployment-testsuite for example

Anchor
selenium-maven-plugin
selenium-maven-plugin

selenium-maven-plugin

http://geronimo.apache.org/maven/genesis/plugins/maven-maven-plugin/index.html

...

See console-testsuite for an example

Anchor
maven-maven-plugin
maven-maven-plugin

maven-maven-plugin

http://geronimo.apache.org/maven/server/maven-plugins/maven-maven-plugin/index.html

This plugin invokes each of the testset-n/pom.xml in the integration-test phase of the maven lifecycle. The testcases are defined in those projects. The tests can be either junit or testng testcases. maven-surefire-plugin is configured to skip the tests during the test phase and run in the integration-test phase. surefire-report xmls are generated after the tests.

Anchor
testsuite-maven-plugin
testsuite-maven-plugin

testsuite-maven-plugin

http://geronimo.apache.org/maven/server/maven-plugins/testsuite-maven-plugin/index.html

...