It will be very useful if we have options to define the execution order of feature files.
We'll never add this I'm afraid. It's an old debate and our firm stance is that scenarios should be independent.
@aslakhellesoy It appears that Cucumber core acts differently: it enforces voluntary chosen order of features, which e.g. a User listed in CucumberOptions annotation.
In cucmber.runtime.model.CucumberFeature#load it sorts the provided lists of features using CucumberFeatureUriComparator
So current behaviour is clearly a bug, I will create a separate issue for it.
BTW, cucumber-ruby does allow to change execution order of features, see https://github.com/cucumber/cucumber-ruby/issues/969
?!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
We'll never add this I'm afraid. It's an old debate and our firm stance is that scenarios should be independent.