Skip to content

CodeceptJS 3.7.x doesn't execute test files in alphabetical order #5384

Description

@tobias-lippert

Hi,
we have a couple of test files named 01_first_test.js, 02_second_test.js and so on.
Up to 3.6.10 they were executed in alphabetical order and our tests relied on that.

Starting with 3.7.0 this is no longer the case.

In my opinion, this is a regression and should be fixed.

To reproduce:

  1. Name files as shown above
  2. Execute the tests with 3.6.10 and observe that the test files are executed in alphabetical order
  3. Execute the tests with 3.7.0 and observe that the test files are executed in a different order

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions