prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
133 stars 39 forks source link

cucumber report rewriting #31

Closed DzmitryMaretski closed 6 years ago

DzmitryMaretski commented 6 years ago

Hi, I want to use cucumber report, but courgette rewrite all cucumber reports by scenario or feature. Can i set to not rewrite it or it's impossible? Why i want to use cucumber report? Because they have a screenshots and steps in report.

Thanks for your answer

prashant-ramcharan commented 6 years ago

Hi, I don't understand the question, what do you mean by cucumber report re-writing?

If your runner has this plugin then the Cucumber report will be created once.

 plugin = {
                        "pretty",
                        "json:target/cucumber-report/cucumber.json",
                        "html:target/cucumber-report/cucumber.html"}

Courgette-JVM report is separate from Cucumber report.

By default, you will get the Courgette report and if you add the plugin above, the Cucumber report will be created as well (with steps and screenshots etc..)

DzmitryMaretski commented 6 years ago

About option: I have it, ty.

what do you mean by cucumber report re-writing? For example: I want run 2 feature files. I run it. When the first feature file execute i can see it in report.js (cucumber-report) after that the second one will start to executing and report.js doesn't have a history about first feature file executing

prashant-ramcharan commented 6 years ago

The complete cucumber report is only generated after all features or scenerios are finish running. (i.e all threads are complete)

DzmitryMaretski commented 6 years ago

Hm, yesterday and at this morning there was no report. But now everything is ok. Sorry for that and thank you.