This page describes the shell script , part of the Atlassian Plugin SDK.
- Runs the integration tests for the plugin. (Runs .) Interpreted parameters: .
This shell script supports some interpreted parameters, specified below. All other parameters are passed straight through to Maven.
Explaining the table columns:
Version of the application to run. Default is . Examples:
Container to run in. Default is . Other available values are , and .
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.
then you should enter .
Host name of the application server. The default is .
Additional JVM arguments if required.
Log4j properties file.
Version to use for test resources. Default is .
Version of SAL (Shared Access Layer) to use.
Version of the Atlassian REST module to use.
A list of plugin artifacts, separated by commas, in the form . Version is optional. Default is . These plugins will be installed into your local version of your plugin's host application.
A list of lib artifacts, separated by commas, in the form . Version is optional. Default is . Use this to add additional JARs into your folder.
A list of bundled plugin artifacts, separated by commas, in the form . Version is optional. Default is .These plugins will be loaded as bundled plugins in your local version of your plugin's host application.
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.
If this parameter is present, then the script will not start up the plugin's host application.
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:
atlas-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:
atlas-integration-test --product confluence