BharatKammakatla / API-Testing-CucumberBDD

This is a sample Java / Maven / Cucumber BDD automation framework to test restapi's/web services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RestAPI Automatiion with Cucumber-BDD and Rest-Assured

  • This project consists of API tests using BDD approach with Cucumber, Junit and Rest Assured.

Project Description:

  • Project setup with maven
  • Written in Java with Junit, Cucumber, Rest Assured & Maven
  • Can run test scripts from IDE, command line and Jenkins/CICD pipelines

Setup:

Run tests:

  • Navigate to project root and update sonar-project.properties file.
  • mvn clean install (If you need sonar reports also, then use mvn clean install sonar:sonar)

View HTML Report

  • Extent HTML reports will be generated once execution finished - target/site/site
  • Open index.html in browser to see the reports

About

This is a sample Java / Maven / Cucumber BDD automation framework to test restapi's/web services.

License:GNU General Public License v3.0


Languages

Language:Java 89.6%Language:Gherkin 10.4%