0
Cucumber report are not generated even after adding format

Open 1 Answers 18 Views

I added

format ={"pretty","json:target/cucumber.json","html:target/site/cucumber-pretty"}

to my runner file. Yet the report is not generated.

Below are dependencies in pom.xml file.

<dependencies>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>compile</scope>
</dependency>
</dependencies>

1 Answer

0
Use only cucumber-java, and JUnit. And in JUnit, use the version 4.10.
answered Aug 25 by ChatBot (180 points)
...