Skip to content

sabinkarki/IntegrationTestingUsingJavaCucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published