Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grasshopper7/extentreports5-cucumber5-adapter
WIP for cucumber-jvm5 adapter for latest extentreports version 5
https://github.com/grasshopper7/extentreports5-cucumber5-adapter
Last synced: 7 days ago
JSON representation
WIP for cucumber-jvm5 adapter for latest extentreports version 5
- Host: GitHub
- URL: https://github.com/grasshopper7/extentreports5-cucumber5-adapter
- Owner: grasshopper7
- Created: 2020-06-25T06:47:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T23:37:57.000Z (about 2 years ago)
- Last Synced: 2024-11-07T12:26:50.471Z (about 2 months ago)
- Language: Java
- Size: 339 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This deals with generating Extent reports for Cucumber-JVM version 5 for latest ExtentReports version 5.0.0-SNAPSHOT(https://oss.sonatype.org/content/repositories/snapshots/com/aventstack/extentreports/5.0.0-SNAPSHOT/). This is a protoype attempt and is Work in Progress.
For generating Extent reports for Cucumber-JVM version 5 and ExtentReports version 4.x.x refer to this [article](http://ghchirp.tech/1697/)
To build from source use ```install -Dmaven.test.failure.ignore=true``` or ```install -Dmaven.test.skip=true```. This ignores intentional test failures from stopping the build.
- Download the extentreports-5.0.0 from above location and install in local repository. ```mvn install:install-file -Dfile= -DgroupId=com.aventstack -DartifactId=extentreports -Dversion=5.0.0-SNAPSHOT -Dpackaging=jar``` OR enable using snapshot versions in pom.xml - https://stackoverflow.com/questions/7715321/how-to-download-snapshot-version-from-maven-snapshot-repository.
- Import the code of this repo and build using - ```install -Dmaven.test.failure.ignore=true``` or ```install -Dmaven.test.skip=true```
- Add below dependency to the project
```tech.grasshopper
extentreports5-cucumber5-adapter
1.0.0-SNAPSHOT```
Points to be noted for running report -
- This only supports creation of a SparkReport. HTML and Logger reports have been removed in extentreports version 5.
- Make sure the the report output folder structure already exists. If you set ```extent.reporter.spark.out=test-output/Spark``` in extent.properties, then make sure the test-output/Spark folder exists. Else one will get a file named 'Spark' on report generation.
- The ```extent.reporter.spark.config=src/test/resources/extent-config.xml``` will be ignored as the code for reading this xml file is currently commented in ExtentService. This is giving a freemarker configuration error when enabled.
- The duration of test execution seems to be giving wrong values.
- Code in ExtentService is hard coded for SparkReport creation and will be refactored.