Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
gradle/wrapper
src
README.md
build.gradle
gradlew
gradlew.bat

README.md

Spring Boot 1.4 BDD testing

This project shows how you can implement BDD tests with Spring Boot.

Inspect

Checkout the Gherkin tests here:

./src/cucumber/resources/greetingsResource.feature

See the steps implementations here:

./src/cucumber/java/com/moelholm/cucumber/GreetingsResourceSteps.java

Curious about the RESTful(ish) resource? See it here:

./src/main/java/com/moelholm/cucumber/GreetingsController.java

Run

Run the cucumber tests like this:

./gradlew clean cucumber

Observe the console for test result. Also find cucumber test reports in directory build/cucumber.

You can’t perform that action at this time.