Table of Contents | ||
---|---|---|
|
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.
- #geronimogeronimo-maven-plugin: install/start/stop server. deploy/undeploy modules
- #selenium-maven-plugin: start selenium server
- #maven-maven-plugin: invoke testset-n/pom.xml and run the tests.
- #testsuite-maven-plugin: generate surefire-report.html for foo-testsuite
Anchor | ||||
---|---|---|---|---|
|
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
http://geronimo.apache.org/maven/genesis/plugins/maven-maven-plugin/index.html
...
See console-testsuite for an example
Anchor | ||||
---|---|---|---|---|
|
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
http://geronimo.apache.org/maven/server/maven-plugins/testsuite-maven-plugin/index.html
...