badeball / cypress-cucumber-preprocessor

Run cucumber/gherkin-syntaxed specs with Cypress
MIT License
1.32k stars 147 forks source link

is it possible to generate multiple cucumber json file #1176

Closed peacetrader closed 6 months ago

peacetrader commented 6 months ago

Hi, how to generate multiple cucumber json file for each run when we do parallel run?. currently in package.json we specify "cypress-cucumber-preprocessor": { "json": { "enabled": true, "output": "report/cucumber.json" } } When we run the tests parallely, the cucumber.json gets generated for the last execution, so the previous ones are getting overriden. I am using cypress-parallel where I specify the no of threads in the command. This will generate one cucumber.json file. Would it be possible to generate multiple json files? Would you be able to help?. This can help everyone who uses cucumber and multiple-html-cucumber-report for parallel run.

peacetrader commented 6 months ago

I have added the question in the discussion