Skip to content
Advertisement

How to order feature files in Cucumber test suite?

Currently, I have found that cucumber test suite runs the feature files alphabetically.

Please let me know if there is any option/configuration that I might be missing. Thanks.

Advertisement

Answer

In cucumber 4.2.0 added cli option --order, see changelog and this example.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement