Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grasshopper7/cucumber-rest-assured-extent-report-plugin

Generates Extent Spark & Pdf Report for Rest Assured API Automation Tests run with Cucumber-JVM
https://github.com/grasshopper7/cucumber-rest-assured-extent-report-plugin

Last synced: 7 days ago
JSON representation

Generates Extent Spark & Pdf Report for Rest Assured API Automation Tests run with Cucumber-JVM

Awesome Lists containing this project

README

        

## Spark & Pdf Extent Report generation for REST Assured API Testing executed with Cucumber-JVM

This [artifact](http://ghchirp.site/4199/) deals with the creation of Spark and Pdf Extent Report for REST Assured validation with Cucumber by using a Maven Plugin. The artifact uses the REST Assured Filter from the Allure Framework for generating the report data. This works with JUnit and TestNG testing frameworks. This avoids the mixing of Extent Report calls within the test code. All that is required in the code is an addition of a REST Assured filter and two Cucumber plugins. The remaining changes are all POM configuration changes.

For more details refer to this [article](http://ghchirp.site/4199/). Sample usages for [JUnit](https://github.com/grasshopper7/cucumber-rest-assured-junit-report) and [TestNG](https://github.com/grasshopper7/cucumber-rest-assured-testng-report).

**Sample POM** - POM for [JUnit](https://github.com/grasshopper7/cucumber-rest-assured-junit-report/blob/master/pom.xml) and for [TestNG](https://github.com/grasshopper7/cucumber-rest-assured-testng-report/blob/master/pom.xml).

**Maven Failsafe Plugin Configuration** - Plugin configurations for [JUnit](https://github.com/grasshopper7/cucumber-rest-assured-junit-report/blob/de9a4353481eaf1e0f48098cf782f497eb1b9fe5/pom.xml#L86) and [TestNG](https://github.com/grasshopper7/cucumber-rest-assured-testng-report/blob/370d3ce1e4a89d283fc874bcc86fc2c58df4de58/pom.xml#L61).

**Report Plugin** -
```

tech.grasshopper
cucumber-rest-assured-extent-report-plugin
2.3.1


report
post-integration-test

extentreport


```
Default configuration details and tips be modify them can be found in the [article](http://ghchirp.site/4199/).

***Pdf Report Images*** -

*Dashboard*

![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-rest-assured-extent-report-plugin/master/cuke-ra-db.png)

*Tests*

![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-rest-assured-extent-report-plugin/master/cuke-ra-det.png)

***Spark Report Images*** -

*Dashboard*

![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-rest-assured-extent-report-plugin/master/sp-cuke-ra-db.png)

*Tests*

![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-rest-assured-extent-report-plugin/master/sp-cuke-ra-det.png)