Closed DevMobileAS closed 1 year ago
Just to make sure I understand. "Lexical" order refers to alphabetical order? So 01 comes before A? This PR adds predictable ordering, but in theory we'd want to allow configuration for similar execution orders to what they have in the docs?
Hey Tyler,
you're right, lexical == alphabetical here.
Yes, the other documented execution orders like "lexical, reverse, random or random:[seed]" would be cool too. Maybe you could add some optional method reading options in the Cucumber extension someday.
But reading thru some other cucumber implementations, most of them at least follow the alphabetical order which should at least be the default imho. I'm unsure if and why we would ever need another execution order than that.
See: https://cucumber.io/docs/cucumber/api/?lang=java → default: lexical
Thus, since in the actual implementation of CucumberSwift there's no specific configuration for the feature execution order yet, we should ensure that the features are executed regarding their file names.