Skip to content

Latest commit

 

History

History

booster-cucumber-jvm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Abort-Mission

GitHub license Java version latest-release JavaCI

Cucumber JVM Booster

codecov cucumber 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-cucumber-jvm</artifactId>
  <version>RELEASE</version>
  <scope>test</scope>
</dependency>

Gradle

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

Configuration

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

  1. Create a Cucumber hook implementing com.github.nagyesta.abortmission.booster.cucumber.LaunchAbortHook . See example
  2. Use the plugin named com.github.nagyesta.abortmission.booster.cucumber.AbortMissionPlugin
  3. Annotate your scenarios with the Abort-Mission tags:
    1. @AbortMission_Context_ContextName if you want to use a named context
    2. @AbortMission_SuppressAbort if you want to suppress abort decisions
    3. @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.

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