Skip to content

Passing in RunSettings on the CLI crashes #2360

Closed

Description

Description

If you pass in RunSettings via the CLI, the parser crashes.

Steps to reproduce

What steps can reproduce the defect?
Please share the setup, commandline for vstest.console, sample project, target
framework etc.

C:\git\runtime3\artifacts\bin\System.Text.RegularExpressions.Tests\netcoreapp5.0-Debug>  "C:\git\runtime3\.dotnet\dotnet" test System.Text.RegularExpressions.Tests.dll --logger "xunit;LogFilePath=testResults.xml" --platform x64 --parallel --filter "(category!=OuterLoop&category!=failing&category!=nonnetcoreapptests&category!=nonwindowstests)"  --  RunConfiguration.DisableAppDomain=true

Expected behavior

Share the expected output

Starting test execution, please wait...

Actual behavior

What is the behavior observed?

Test invocation runs successfully.

Diagnostic logs

Please share test platform diagnostics logs. Instructions to collect logs are here.
The logs may contain test assembly paths, kindly review and mask those before sharing.

Environment

Please share additional details about the test environment.
Operating system, Build version of vstest.console

Microsoft (R) Test Execution Command Line Tool Version 16.6.0-preview-20200310-03
SDK: 5.0.100-preview.2.20163.4

cc @nohwnd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions