atlas-unit-test

This page describes the shell script atlas-unit-test, part of the Atlassian Plugin SDK.

Basic usage

atlas-unit-test [options] - Runs the unit tests for your plugin. (Runs mvn test.) Passes all parameters straight through to Maven.

Parameters

This shell script is a Maven wrapper script. All parameters are passed straight through to Maven.

Getting help

The shell script will display some help text if you enter one of the following as the first argument:

  • -?
  • -h
  • help
  • -help
  • --help

For example:

1
2
atlas-unit-test -?
atlas-unit-test -help

Run the following command to see all options provided by mvn test:

1
atlas-mvn test --help

Examples

Run the following command to run your unit tests:

1
atlas-unit-test

Run the following command to run your unit tests without failing the build, even if there are errors:

1
atlas-unit-test --fail-never

Working with the SDK
Writing and running plugin tests