Skip to content

Feature Request: Support -p flag (test parallelism) like go test #548

@abdullayev13

Description

@abdullayev13

Hi! 👋

go test supports the -p flag to control the number of packages tested in parallel:

go test -p 1

I would like gotestsum to support the same flag:

gotestsum -p 1

This is especially useful when running tests that touch shared resources (DB, Redis, filesystem, etc.), in CI environments where limiting parallelism is important, or when test packages must run one-by-one (in my case).

Thanks for the great tool — this feature would help a lot with deterministic test execution. 🙏

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