formulahendry / formulahendry/vscode-dotnet-test-explorer

.runsettings not picked up when debugging a test. Running a test is fine.

Open
#339 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
208
Forks
93
PR merge metrics
No merged PRs in 30d

Description

I have the following settings set for the workspace:
"settings": {
"dotnet-test-explorer.testArguments": "-s RunSettings/LocalTestSettings.runsettings",
"dotnet-test-explorer.testProjectPath": "**/*.csproj"
}

When running a test (mstest core) there's no issue, when debugging there's an error when trying to get a test run parameter from the .runsettings file, in that it doesn't exist. Example test run parameters in the run settings file:


There's some stackoverflow articles to setup a task and launch config, attaching a process etc but it seems quite a lot of work.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.