extentreports-java
extentreports-java copied to clipboard
Issue with extent report with gradle, cucumber-spring
Summary
Hi Anshoo,
For our project, we are using cucumber-spring framework. I am able to execute the project and all the scripts are executed successfully but no extent report is generated. Please help me to find out what is missing in this and why the report is not generated
Expected Behavior
Extent report should be generated
Current Behavior
No report is generated
Sample
// Sample code goes here
compile 'com.sitture:cucumber-jvm-extentreport:3.1.0' have added under the dependency classpath "com.sitture:cucumber-jvm-extentreport:3.1.0" as classpath
Have added extent-config.xml under src->resources folder Have added plugin as @cucumberoptions(features = "classpath:features", glue = "", plugin = "com.sitture.ExtentFormatter:/build/reports/cucumber/extent-report/extent.html") Under the Runner class
ExtentReporter.setConfig(new File("/src/test/resources/extent-config.xml"));
Environment Details
Build Tool : Gradle Framework - Cucumber-Spring
- Extent report Version used: 3.1.0
- Operating System and version: Windows
- JDK Version: 1.8
Screenshots
Hi Anshoo,
I know you are busy and sorry for troubling you. It would be really great help if you pass your comments on the above issue.