This page describes the shell script atlas-integration-test
, part of the Atlassian Plugin SDK.
atlas-integration-test [options]
- Runs the integration tests for the plugin. (Runs mvn integration-test
.) Interpreted parameters: version, container, http-port, context-path, server, jvmargs, log4j, test-version, sal-version, rest-version, plugins,lib-plugins, bundled-plugins, product, no-webapp, skip-tests
.
This shell script supports some interpreted parameters, specified below. All other parameters are passed straight through to Maven.
Explaining the table columns:
Interpreted parameters:
Full Parameter | Description |
---|---|
--version | Version of the application to run. Default is
|
--container | Container to run in. Default is Shortened: -c |
--http-port | HTTP port for the servlet container. The defaults are as described in the SDK overview. You may need to change this if you already have a process listed for the default port, such as when you want to bring up two instances of Confluence. Shortened: -p |
--context-path | The then you should enter |
--server | Host name of the application server. The default is |
--jvmargs | Additional JVM arguments if required. |
--log4j | Log4j properties file. |
--test-version | Version to use for test resources. Default is |
--sal-version | Version of SAL (Shared Access Layer) to use. |
--rest-version | Version of the Atlassian REST module to use. |
--plugins | A list of plugin artifacts, separated by commas, in the form |
--lib-plugins | A list of lib artifacts, separated by commas, in the form |
--bundled-plugins | A list of bundled plugin artifacts, separated by commas, in the form |
--product | The application to launch with the plugin. You might use this if your plugin is written for one application (as specified in the POM) but you want to install the plugin into another application. |
--no-webapp | If this parameter is present, then the script will not start up the plugin's host application. |
--skip-tests | If this parameter is present, the script will not execute the unit or integration tests. |
--no-webapp and --skip-tests don't accept a value.
The shell script will display some help text if you enter one of the following as the first argument:
For example:
1 2atlas-integration-test -? atlas-integration-test -help
You can run your integration tests against a different application. Say you have a RefApp plugin but want to run your integration tests against Confluence:
1 2atlas-integration-test --product confluence
Rate this page: