extent-framework / extentreports-cucumber4-adapter

Cucumber4 Adapter for Extent Framework
http://extentreports.com/docs/versions/4/java/cucumber2.html
Apache License 2.0
39 stars 22 forks source link

No report generated with extentreports-cucumber4-adapter 1.2.1 #68

Open FrankBergemann opened 4 years ago

FrankBergemann commented 4 years ago

Hi Anshoo, extentreports-cucumber4-adapter version 1.0.12 was working fine for me. However no reports are getting generated when using version 1.2.1. File extent.properties truely is in my class path and looks like:

# spark-reporter
extent.reporter.spark.start=true
extent.reporter.spark.config=src/main/resources/reports/extent-config.xml
extent.reporter.spark.out=target/ExtentReports/index.html

# klov-reporter
extent.reporter.klov.start=false
extent.reporter.klov.config=src/test/resources/klov.properties

# json-reporter
extent.reporter.json.start=false
extent.reporter.json.out=test-output/JsonReport/Extent.json

# screenshot config
screenshot.dir=test-output/
screenshot.rel.path=../`

extent-config.xml reads:


<?xml version="1.0" encoding="UTF-8"?>
<extentreports>
  <configuration>

    <!-- report theme -->
    <!-- STANDARD, DARK -->
    <theme>STANDARD</theme>

    <!-- document encoding -->
    <!-- defaults to UTF-8 -->
    <encoding>UTF-8</encoding>

    <!-- protocol for script and stylesheets -->
    <!-- defaults to https -->
    <!-- HTTP, HTTPS -->
    <protocol>HTTPS</protocol>

    <!-- timeline enabled -->
    <timelineEnabled>true</timelineEnabled>

    <!-- offline report -->
    <enableOfflineMode>false</enableOfflineMode>

    <!-- title of the document -->
    <documentTitle>BMW-SEAF Automated Test</documentTitle>

    <!-- report name - displayed at top-nav -->
    <reportName>Selenium/Cucumber Test Automation of SEAF Frontend</reportName>

    <!-- timestamp format -->
    <timeStampFormat>MMM dd, yyyy HH:mm:ss</timeStampFormat>

    <!-- custom javascript -->
    <scripts>
      <![CDATA[
        $(document).ready(function() {

        });
      ]]>
    </scripts>

    <!-- custom styles -->
    <styles>
      <![CDATA[

      ]]>
    </styles>

  </configuration>
</extentreports>

Please find pom.xml attached. Can you help? Kind regards -- Frank pom.xml.txt