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: 3 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T19:14:16.000Z (3 months ago)
- Last Synced: 2025-01-31T16:53:47.914Z (3 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: 1.02 MB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cucumber REST Gherkin library

[](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).