dotnet test --list-tests
command is not works as expected when using Microsoft.Testing.Platform
mode
#4401
Labels
dotnet test --list-tests
command is not works as expected when using Microsoft.Testing.Platform
mode
#4401
Describe the bug
When running tests with dotnet test - Microsoft.Testing.Platform mode
dotnet test --list-tests
command is not works as expected.It ignores
--list-tests
argument and run actual tests instead.Steps To Reproduce
dotnet new mstest --sdk
commandthrow new Exception("UnitTest is Executed!");
to generated test code.dotnet test --list-tests
command. And confirms list of tests are displayed.4.1, Remove
<UseVSTest>true</UseVSTest>
setting.4.2. Add following settings
dotnet test --list-tests
command. And confirms actual tests are executed.Expected behavior
List of tests are shown.
Actual behavior
--list-tests
argument is ignored. And actual tests are executed.Additional context
dotnet test --list-tests
command is not works as expected whenTestingPlatformDotnetTestSupport
enabled xunit/xunit#3092The text was updated successfully, but these errors were encountered: