0

I am using Serenity with Cucumber-JVM. Serenity helps to generate test reports after execution.

Since by default feature files are picked up in Alphabetical order, report is also in this order.

Is there any workaround in Cucumber-JVM to pick up the files in the order they are created in /features folder?

Verhagen
  • 3,885
  • 26
  • 36
Manisha Awasthi
  • 449
  • 1
  • 5
  • 16

1 Answers1

0

A workaround would be to start each feature file with an order number like:

  • 001-login-the-web-shop.feature
  • 002-search-for-item.feature
  • etc.
Verhagen
  • 3,885
  • 26
  • 36