Skip to content

sdasgupta010/RestAssured_BDD_Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

RestAssured practice with Behavior Driven Development (BDD) Framework

To execute with maven:

mvn test

(using tagging)

mvn test -Dcucumber.filter.tags="@tagname or @anothertagname"

To enable cucumber reporting:

* create a directory in "target" folder named "jsonReports"
* go to TestRunner.java and add the plugin description as:
* plugin = "json:target/jsonReports/cucumber-report.json" in @CucumberOptions, which will create s cucumber-report.json file inside jsonReports folder
This json file will now be used as an input to the reporting plugin and will generate test report under "target/cucumber-html-reports"folder
Known issue with parallel testing: junit-team/junit-framework#1424

The maven command to generate test report:

mvn test verify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published