TestTfmsInParallel:false
is not works when running tests on TestExplorer with Microsoft.Testing.Platform
mode
#4392
Labels
Area: Testing Platform
Belongs to the Microsoft.Testing.Platform core library
External: Test Explorer
Describe the bug
I'm using
<TestTfmsInParallel>false</TestTfmsInParallel>
setting to disable parallel execution between TargetFrameworks.But when running tests on Visual Studio Test Explorer with
Microsoft.Testing.Platform
mode.It not works as expected.
Steps To Reproduce
dotnet new mstest --sdk --test-runner MSTest
2.1 Set target frameworks to
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
2.2. Set
<TestTfmsInParallel>false</TestTfmsInParallel>
Thread.Sleep(5000);
code to test method.Expected behavior
Tests are executed in sequential orders.
Actual behavior
Tests are executed in parallel between targe frameworks.
Tested environment
(With preview feature
Use testing platform server mode
to useMicrosoft.Testing.Platform
)Additional context
When tests are executed with
<UseVSTest>true</UseVSTest>
. It works as expected.The text was updated successfully, but these errors were encountered: