Skip to content

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

Closed

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

  1. DavertMik commented on Jan 14, 2026

    @DavertMik
    Contributor

    Thanks, I hope @DenysKuchma will help you

  2. tobias-lippert commented on Jan 15, 2026

    @tobias-lippert
    Author

    Thanks for the quick fix. Is there any estimate when a release with this fix will be available?

  3. DenysKuchma commented on Jan 15, 2026

    @DenysKuchma
    Collaborator
  4. github-actions commented on Apr 16, 2026

    @github-actions

    This issue is stale because it has been open for 90 days with no 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