Please find the essentials below or check out the wiki for more details.
Abort-Mission can be downloaded from a few Maven repositories. Please head to this page to find out more.
<dependency>
<groupId>com.github.nagyesta.abort-mission.boosters</groupId>
<artifactId>abort.booster-testng</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
testImplementation "com.github.nagyesta.abort-mission.boosters:abort.booster-testng:+"
The minimal setup consists of only 4 steps in case you are using this booster.
- Implement MissionOutline named as
MissionOutlineDefinition
preferably in your root package - Annotate your tests with @LaunchAbortArmed
- Add AbortMissionListener to your tests as a listener.
- 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
- 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