Skip to content

Working framework build on top of restassured, cucumber and extent report with TestNG as runner

Notifications You must be signed in to change notification settings

thananauto/restassured-cucumber-extent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restassured-cucumber-extent E2E-API-Test execution

This is the sample framework which build on cucumber + TestNG + Extent report to the test the API application using Rest Assured

Features

  • All real time request, response, body, header and cookie can be found as attachment of each scenario of extent report
  • Each scenario response body is validated against its schema
  • Test data can be read from YAML file
  • Owner library is used to read the properties file
  • Lombok library is used to generate getter and setter methods
  • All scenario can be execute in parallel, since runner class extends AbstractTestNGCucumberTests
  • Failed scenario can be executed again in same command, the report generation is the combination of TestRunnerIT.java and RerunnerIT.java

Execution

Githubworkflow is configured. Please refer actions tab of this repository

References

  1. Grasshopper chirp
  2. Owner
  3. Lombok
  4. Cucumber-TestNG

About

Working framework build on top of restassured, cucumber and extent report with TestNG as runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published