Skip to content

Latest commit

 

History

History

booster-junit4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Abort-Mission

GitHub license Java version latest-release JavaCI

JUnit 4 Booster

codecov junit4 Experimental

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-junit4-experimental</artifactId>
  <version>RELEASE</version>
  <scope>test</scope>
</dependency>

Gradle

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

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. Use the LaunchAbortTestWatcher
  4. Use the additional core annotations or the @Category annotation provided by JUnit to define your dependencies and group your tests properly

Note: This booster does not support telemetry reporting.

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