我在哪里设置 dotnet-test-explorer.testProjectPath for vscode-dotnet-test-explorer extension for Visual Studio 代码?

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

我找到了各种说明我需要 dotnet-test-explorer.testProjectPath 的文档。我在任何地方都找不到该字符串,它在哪里设置?

我通过反复试验找到了答案。

vscode-dotnet-test-explorer 扩展的设置在文件 .vscode/settings.json

扩展程序现在可以找到我的测试。我的文件 settings.json 如下所示:

{
    "dotnet-test-explorer.testProjectPath": "APIvNext/UnitTests"
}