Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grasshopper7/cucumber-rest-assured-extent-report-plugin
- Owner: grasshopper7
- License: mit
- Created: 2022-03-01T05:11:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T05:35:00.000Z (over 1 year ago)
- Last Synced: 2024-11-07T12:26:33.713Z (about 2 months ago)
- Language: Java
- Homepage: https://ghchirp.online/4199/
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)