atlas-unit-test

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

On this page:

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:

atlas-unit-test -?
atlas-unit-test -help

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

atlas-mvn test --help

Examples

Run the following command to run your unit tests:

atlas-unit-test

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

atlas-unit-test --fail-never
RELATED TOPICS

Working with the SDK
Plugin Testing Resources and Discussion

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport