Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I set dotnet-test-explorer.testProjectPath for vscode-dotnet-test-explorer extension for Visual Studio Code?

I have found various documentation stating I need to dotnet-test-explorer.testProjectPath. I can not find that string anywhere, where is it set?

like image 857
Anthony Avatar asked May 20 '26 02:05

Anthony


1 Answers

I found the answer through trial and error.

The settings for the vscode-dotnet-test-explorer extension go in the file .vscode/settings.json

The extension now finds my tests. My file settings.json looks like this:

{
    "dotnet-test-explorer.testProjectPath": "APIvNext/UnitTests"
}
like image 156
Anthony Avatar answered May 22 '26 15:05

Anthony