Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nagyesta/abort-mission-examples
Example project for Abort-Mission.
https://github.com/nagyesta/abort-mission-examples
Last synced: 13 days ago
JSON representation
Example project for Abort-Mission.
- Host: GitHub
- URL: https://github.com/nagyesta/abort-mission-examples
- Owner: nagyesta
- License: mit
- Created: 2023-07-19T21:10:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T15:08:33.000Z (13 days ago)
- Last Synced: 2024-10-24T16:07:24.429Z (13 days ago)
- Language: Java
- Size: 604 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
![Abort-Mission](.github/assets/Abort-Mission-logo_export_transparent_640.png)
[![GitHub license](https://img.shields.io/github/license/nagyesta/abort-mission-examples?color=informational)](https://raw.githubusercontent.com/nagyesta/abort-mission-examples/main/LICENSE)
[![Java version](https://img.shields.io/badge/Java%20version-17-yellow?logo=java)](https://img.shields.io/badge/Java%20version-17-yellow?logo=java)
[![JavaCI](https://img.shields.io/github/actions/workflow/status/nagyesta/abort-mission-examples/build.yml?logo=github&branch=main)](https://github.com/nagyesta/abort-mission-examples/actions/workflows/build.yml)[![last_commit](https://img.shields.io/github/last-commit/nagyesta/abort-mission-examples?logo=git)](https://img.shields.io/github/last-commit/nagyesta/abort-mission-examples?logo=git)
[![wiki](https://img.shields.io/badge/See-Wiki-informational)](https://github.com/nagyesta/abort-mission/wiki)Abort-Mission is a lightweight Java library providing flexible test abortion support for test groups to allow fast failures.
This repository is demonstrating how it can be integrated while using various frameworks and tools.### About the examples
This repository contains made-up examples, which are created just to show a proof of concept. There is no reasonable
expectation about it to show Abort-Mission as the only solution to these problems.All examples show the same scenario, dealing with a very simple Weather API integration that requires an API key.
If the API key is not provided, we know, that many of our tests will send requests to the API and fail. As we would like
to avoid sending unnecessary requests as well as waiting pointlessly for the test failures to happen, we have integrated
Abort-Mission to tell our test framework of choice to stop executing the tests which require an API key in case it was
not provided or was not working during the first call.In any of the examples, the key integration points are commented with a message starting with `HINT:` such as:
```java
// HINT: Add Abort-Mission annotation
```or
```html
```
In order to see these integration points more easily, a list of them is added to the readme of each module.
It is recommended to execute the examples either without an API key or using an invalid key in order to see how
Abort-Mission behaves, then look for the `reports/abort-mission/abort-mission-report.html` under the build directory
to see the generated report.### Contents
- Gradle
- [Cucumber JVM](gradle/cucumber)
- [JUnit 4](gradle/junit4)
- [JUnit Jupiter](gradle/jupiter)
- [TestNG](gradle/testng)
- Maven
- [JUnit Jupiter](maven/mvn-jupiter)