Skip to content

Opt-in for parallel-execution on a class level, instead of current assembly level #5555

@Youssef1313

Description

@Youssef1313

Discussed in #5553

Originally posted by thomasstormark3shape May 2, 2025
Both Xunit and Nunit has the option to opt-in for parallel test execution on a class-level or method level.

With MSTest its only possible to set [assembly: Parallelize(…)], and then opting out for each class or method by [DoNotParallelize].

When you have an old large test project with houndreds of test classes, and you find out that a lot does NOT parallelize - it would be good to gradually opt-in during migration period, and finally go for assembly level default parallelize.

Any thoughts on this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions