Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grasshopper7/cucumber-pdf-plugin
Generates Cucumber execution report in PDF format
https://github.com/grasshopper7/cucumber-pdf-plugin
Last synced: 7 days ago
JSON representation
Generates Cucumber execution report in PDF format
- Host: GitHub
- URL: https://github.com/grasshopper7/cucumber-pdf-plugin
- Owner: grasshopper7
- Created: 2020-11-06T07:23:51.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T04:52:09.000Z (over 1 year ago)
- Last Synced: 2024-11-07T12:26:45.766Z (about 2 months ago)
- Language: Java
- Homepage: https://ghchirp.online/2224/
- Size: 1.61 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Cucumber PDF Report Plugin
Refer to this [article](https://ghchirp.site/2224/) for more details. [Sample implementation](https://github.com/grasshopper7/cucumber-pdf-plugin-report) and ![Sample Report](https://github.com/grasshopper7/cucumber-pdf-plugin-report/blob/master/cucumber-pdf-plugin-report/pdf-report/report.pdf)
The below configuration needs to be added to the project pom to setup the PDF report plugin.
```
tech.grasshopper
cucumber-pdf-plugin
1.14.0
report
post-integration-test
pdfreport
${project.build.directory}/json-report
```
**Plugin Configurations**
| Configuration | Description | Default |
| :----------- | :----------- | :----------- |
| cucumberJsonReportDirectory | Directory location of cucumber json reports. Required. | |
| cucumberPdfReportDirectory | Directory prefix of location of generated pdf report | report |
| cucumberPdfReportDirectoryTimeStamp | Directory suffix of location of generated pdf report. Assign null explicitly to ignore default value | dd MM yyyy HH mm ss |
| strictCucumber6Behavior | Cucumber 6 Strict behavior | true |
| title | Report title | Cucumber PDF Report |
| titleColor | Report title color in hex without leading # | Black |
| passColor | Pass status color in hex without leading # | Green |
| failColor | Fail status color in hex without leading # | Red |
| skipColor | Skip status color in hex without leading # | Yellow |
| displayFeature | Display feature report section | true |
| displayScenario | Display scenario report section | true |
| displayDetailed | Display step detailed report section | true |
| displayExpanded | Display media as zoomed report section | false |
| displayAttached | Display media as pdf attachment | true |
| skipHooks | All passed hooks are hidden | false |
| skipScenarioHooks | All passed Scenario hooks are hidden | false |
| skipStepHooks | All passed Step hooks are hidden | false |Many other report settings can be configured by using a yaml file as described in the [article](https://ghchirp.tech/2224/)
**DASHBOARD**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/dashboard.png)
**SUMMARY**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/summary.png)
**TAGS**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/tags.png)
**FEATURE SECTION**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/feature.png)
**SCENARIO SECTION**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/scenario.png)
**DETAILED SECTION**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/detailed.png)
**MEDIA**
![sample](https://raw.githubusercontent.com/grasshopper7/cucumber-pdf-plugin/master/cucumber-pdf-plugin/attach.png)