Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 2.88 KB

File metadata and controls

52 lines (37 loc) · 2.88 KB

Abort-Mission

GitHub license Java version latest-release JavaCI

TestNG Booster

codecov testng Stable

Please find the essentials below or check out the wiki for more details.

Quick-start

Dependency

Abort-Mission can be downloaded from a few Maven repositories. Please head to this page to find out more.

Maven

<dependency>
  <groupId>com.github.nagyesta.abort-mission.boosters</groupId>
  <artifactId>abort.booster-testng</artifactId>
  <version>RELEASE</version>
  <scope>test</scope>
</dependency>

Gradle

testImplementation "com.github.nagyesta.abort-mission.boosters:abort.booster-testng:+"

Configuration

The minimal setup consists of only 4 steps in case you are using this booster.

  1. Implement MissionOutline named as MissionOutlineDefinition preferably in your root package
  2. Annotate your tests with @LaunchAbortArmed
  3. Add AbortMissionListener to your tests as a listener.
  4. Use the additional core annotations or the groups attribute of the @Test annotation provided by TestNG to define your dependencies and group your tests properly

Examples

  • In case you need some basic examples, please feel free to check out this package
  • Alternatively, you can take a look at the following example project: Abort-Mission Examples