Skip to content

chore: find a better more automatic way to distribute our tests #4178

@erezrokah

Description

@erezrokah

Follow up to #4164.

In #4164 we split our tests across multiple machines using an ava feature that allows it.
The feature works by sorting specs by file names, dividing those into chunks and sending each chunk to a different machine.
As a result of ava's distribution strategy and since some of our specs are slower than others, I manually distributed the tests using a naming scheme (prefixing with numbers).

See a suggestion in #4164 (comment).
Another possible option is to have a lint rule to enforce a maximum number of tests in a spec, to keep each spec execution time low

Metadata

Metadata

Assignees

No one assigned

    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