Skip to content

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

@tobias-lippert

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions