Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Parallel] Tests should be run in STA by default #320

Closed
AbhitejJohn opened this issue Nov 28, 2017 · 1 comment
Closed

[Parallel] Tests should be run in STA by default #320

AbhitejJohn opened this issue Nov 28, 2017 · 1 comment

Comments

@AbhitejJohn
Copy link
Contributor

Description

Tests running with in-assembly-parallelization run by default in MTA where-as the default for a non-parallelized run is STA. We would want this default to be the same irrespective of a parallel run.

Workaround

A user can add an STATestClass/STATestMethod to ensure their tests requiring STA run in it. These attributes are part of MSTest.STAExtensions

@Evangelink
Copy link
Member

We will fix running in STA/MTA but not in this way.

@Evangelink Evangelink closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants