Skip to content

narottamgla/restapi-bdd-cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"RestAPI Automatiion" BDD with "Cucumber" and "Serenity"

  • This project is an example of how to setup API tests using BDD approach with Serenity framework

Project Description:

  • Project setup with Gson and Serenity Rest
  • Written in Java with Junit, Cucumber & Maven
  • Can run test scripts in parallel

Setup:

  • Install Java 8
  • Install Maven Maven
  • Install "natural plugin" using eclipse marketplace

Run tests:

  • Navigate to project root and Update com.googleapi.utils.Constants .
  • mvn clean verify

View HTML Report

  • HTML report will be generated once execution finish -bdd-cucumber\target\site\serenity
  • Open Index.html in browser to see the reports