Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ragin-lundf/bbd-cucumber-gherkin-lib
Cucumber library for simpler e2e tests with predefined sentences for API and basic database access for Spring.
https://github.com/ragin-lundf/bbd-cucumber-gherkin-lib
bdd behavior-driven-development cucumber cucumber-java gherkin library spring spring-boot
Last synced: 2 months ago
JSON representation
Cucumber library for simpler e2e tests with predefined sentences for API and basic database access for Spring.
- Host: GitHub
- URL: https://github.com/ragin-lundf/bbd-cucumber-gherkin-lib
- Owner: Ragin-LundF
- License: mit
- Created: 2020-07-08T08:48:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T19:28:54.000Z (3 months ago)
- Last Synced: 2024-10-11T03:02:59.869Z (2 months ago)
- Topics: bdd, behavior-driven-development, cucumber, cucumber-java, gherkin, library, spring, spring-boot
- Language: Kotlin
- Homepage: https://ragin-lundf.github.io/bbd-cucumber-gherkin-lib/
- Size: 985 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cucumber REST Gherkin library
![Java CI with Gradle](https://github.com/Ragin-LundF/bbd-cucumber-gherkin-lib/workflows/Java%20CI%20with%20Gradle/badge.svg)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Ragin-LundF_bbd-cucumber-gherkin-lib&metric=alert_status)](https://sonarcloud.io/dashboard?id=Ragin-LundF_bbd-cucumber-gherkin-lib)This library supports some basic sentences to handle REST API calls and basic database operations.
It is based on [Cucumber](https://cucumber.io) and helps to support [Behaviour-Driven Development (BDD)](https://cucumber.io/docs/bdd/).
Cucumber executes `Steps` in form of [Gherkin](https://cucumber.io/docs/gherkin/) language.
Read also about [Anti-Patterns](https://cucumber.io/docs/guides/anti-patterns/) of Cucumber to avoid problems and to have a clear style.
See [Changelog](CHANGELOG.md) for release information.
The library tests with itself and with a dummy application in the test sources to have a lot of examples for the usage.
There you can also find custom-matcher for JSON-Assert.
See [src/test](src/test) folder for examples.## How to integrate
The library is available on Maven Central.
### Maven
```xmlio.github.ragin-lundf
bdd-cucumber-gherkin-lib
${version.bdd-cucumber-gherkin-lib}
test```
### Gradle
```groovy
dependencies {
testImplementation "io.github.ragin-lundf:bdd-cucumber-gherkin-lib:${version.bdd-cucumber-gherkin-lib}"
}
```# Documentation
The documentation of the configuration, integration and available sentences can be found in the [Wiki](https://github.com/Ragin-LundF/bbd-cucumber-gherkin-lib/wiki).