Closed mpkorstanje closed 4 years ago
@mpkorstanje : Thanks for noticing me. I'll look into this and update accordingly.
@mpkorstanje - Any place wherein I can look up on what is coming in 2.0 ? I would be particularly interested in knowing if the 2.0 is going to come out with parallelism support (especially at the scenario levels).
Sure: https://github.com/cucumber/cucumber-jvm/blob/master/History.md
Or try:
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
But it is mostly bug fixes. Would recommend looking at:
https://github.com/temyers/cucumber-jvm-parallel-plugin for parallel support. It should be able to handle extents reports. If you fix https://github.com/temyers/cucumber-jvm-parallel-plugin/issues/127 you'll have the reports from each run aggregated into a single report.
Any update on this? I think it would be a very nice enhancement, as cucumber 2.0 is live now. No pressure of course, you have already done so much ;).
@MaximeRyckmans working on it.
@MaximeRyckmans @mpkorstanje - Would you know if Cucumber 2.0 provides thread safe reports ? I am working on something that needs thread safe reports.
@krmahadevan I don't think so, have a look at this link: https://github.com/cucumber/cucumber-jvm/issues/630
The upcoming release of
cucumber-jvm:2.0.0
will use an event based system rather then the hook based system. This means that ExtentCucumberFormatter will not work with cucumber 2.0.0.To fix this the ExtentCucumberFormatter should implement cucumber.api.formatter.Formatter and then listen to these events. For a concrete example please see the JSONFormatter.