Skip to content

Latest commit

 

History

History
52 lines (46 loc) · 1.45 KB

File metadata and controls

52 lines (46 loc) · 1.45 KB

System Requirements

Java 8
Lombok
Preferred Editor
Maven

Description

This project is about BDD testing using cucumber-java as 
client side(UserApiTesting) and
Spring Boot as Server side(UserApi).The purpose of the project 
is solely for education only.During the start up of
the application two users are created.Users are also added from
cucumber(client side) and deleted after the completion of test.
Couple of rest resources are added in controller of UserApi. 
Swagger is integrated as well. In the client side dependency
injection is maintained through picocontainer. Couple of examples
added like Datatable, Scenario Outline, custom tags which can
be seen in users.feature.

Swagger-URL

http://localhost:8080/swagger-ui.html

Running UserApi

mvn spring-boot:run

Running UserApiTesting

Open ApiTestRunner from runner package.Right click and Run

Report After Running Cucumber

Report Location

../target/cucumber/api/index.html

Pass report

passreport

Actual Report index.html

report-cucumber