Skip to content

dduehr/cucumber-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cucumber POC

Demo of a simple REST service that is secured by Cucumber tests.

As an example the Cucumber test specifications are both provided in English and German, see src/test/resources/features/*.feature.

Run

Run the REST service by:

./gradlew bootRun

Inspect

Inspect the REST API or the utilized H2 in-memory database by:

(*) apply the JDBC URL "jdbc:h2:mem:test" for the H2 database console.

Cucumber Test

Initiate the Cucumber test from a second terminal window as the Cucumber tests requires a running instance of the REST service.

./gradlew cucumberTest

See the generated Cucumber HTML report at build/reports/cucumber.html.

Credits

Credits to the GitHub project cucumber-spring-boot-kotlin by Ray Wenderlich.

Dirk Duehr, July 2024

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published