gedeh / spring-boot-cucumber

Sample project showing how to set up DI with Cucumber using Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cucumber in Spring Boot using Dependency Injection

This code sample shows how to use Dependency Injection in Cucumber within a Spring Boot application.

Run the Spring Boot app

mvn -q spring-boot:run

The server will be available in http://localhost:8090/things

Run the Cucumber test

mvn -q test -Dcucumber.filter.tags="not @wip"

Then see the report in target/cucumber/bag.html

Complete Instructions

You can find the complete instructions on this post at The Practical Developer site: Cucumber Tests in Spring Boot with Dependency Injection

Cucumber and Dependency Injection in a Spring Boot App - The Practical Developer

About

Sample project showing how to set up DI with Cucumber using Spring Boot


Languages

Language:Java 79.9%Language:Gherkin 20.1%