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-cucumber-jvm</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
testImplementation "com.github.nagyesta.abort-mission.boosters:abort.booster-cucumber-jvm:+"
The minimal setup consists of only 3 steps in case you are using this booster.
- Create a Cucumber hook implementing
com.github.nagyesta.abortmission.booster.cucumber.LaunchAbortHook
. See example - Use the plugin named
com.github.nagyesta.abortmission.booster.cucumber.AbortMissionPlugin
- Annotate your scenarios with the Abort-Mission tags:
@AbortMission_Context_ContextName
if you want to use a named context@AbortMission_SuppressAbort
if you want to suppress abort decisions@AbortMission_SuppressFailure_fully.qualified.name.of.an.Exception
to suppress exception related failure reporting
NOTE: Please make sure to use relaxed
schema validation when you are generating the flight evaluation report.
- 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