Search code examples
javaseleniumselenium-webdrivercucumberbdd

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.


Solution

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