extentreports-java icon indicating copy to clipboard operation
extentreports-java copied to clipboard

Issue with extent report with gradle, cucumber-spring

Open Udhay1316 opened this issue 7 years ago • 1 comments

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

Udhay1316 avatar Mar 31 '18 00:03 Udhay1316

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.

Udhay1316 avatar Apr 02 '18 15:04 Udhay1316