bbd-cucumber-gherkin-lib

Cucumber library for simpler e2e tests with predefined sentences for API and basic database access for Spring.

MIT License

Stars
6
Committers
7

Cucumber REST Gherkin library

This library supports some basic sentences to handle REST API calls and basic database operations.

It is based on Cucumber and helps to support Behaviour-Driven Development (BDD).

Cucumber executes Steps in form of Gherkin language.

Read also about Anti-Patterns of Cucumber to avoid problems and to have a clear style.

See Changelog 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 folder for examples.

How to integrate

The library is available on Maven Central.

Maven

<dependency>
	<groupId>io.github.ragin-lundf</groupId>
	<artifactId>bdd-cucumber-gherkin-lib</artifactId>
	<version>${version.bdd-cucumber-gherkin-lib}</version>
	<scope>test</scope>
</dependency>

Gradle

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.

Package Rankings
Top 36.63% on Repo1.maven.org
Badges
Extracted from project README's
Quality Gate Status