Skip to content

[Feature]: Support test sharding (same as jest --shard=1/10) #887

@n0th1ng-else

Description

@n0th1ng-else

What problem does this feature solve?

One of the features that blocks us from considering Rstest as a PoC in our setup is sharding. Right now, we run our tests on 6 shards on CI.
Taking into account that we already use swc to parse test spec files and the fact that the codebase is growing, I do not expect having a single shard to be enough in our setup.

Do you plan to work on this? any high level estimations when this could potentially land in Rspack will be appreciated 👋🏿

What does the proposed API look like?

https://jestjs.io/docs/next/cli#--shard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions