badeball / cypress-cucumber-preprocessor

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

Added override flag #1200

Closed PaulDotmatics closed 4 weeks ago

PaulDotmatics commented 4 weeks ago

I would like to add the capability to disable the auto override that is current in place. I know the naming convention needs some work and open to options.

For my use case I am running cypress in parallel threads and would like each of those threads to create a JSON/HTML report then use multiple-cucumber-html-reporter to combine the json reports into a consolidated report.

I thought about adding the capability to create the cucumber report directly in preprocessor but think that loses what this lib is for.

Open to feedback but really want this please :)

badeball commented 4 weeks ago

Here's an example of how to dynamically configure output paths. I guess this relates to your use case, although you don't specify how you run Cypress in parallel.

PaulDotmatics commented 4 weeks ago

That works ill cancel this PR thanks