Adds Test & Integration Test commands to the Visual Studio Code configuration (#32705)
Adds the test commands to the vscode configuration.
This commit is contained in:
44
.vscode/tasks.json
vendored
44
.vscode/tasks.json
vendored
@@ -32,6 +32,50 @@
|
|||||||
"/consoleloggerparameters:'ForceNoAlign;NoSummary'"
|
"/consoleloggerparameters:'ForceNoAlign;NoSummary'"
|
||||||
],
|
],
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "test",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "shell",
|
||||||
|
"args": [
|
||||||
|
"test",
|
||||||
|
"--no-build",
|
||||||
|
"--configuration",
|
||||||
|
"DebugOpt",
|
||||||
|
"Content.Tests/Content.Tests.csproj",
|
||||||
|
"--",
|
||||||
|
"NUnit.ConsoleOut=0"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "test"
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "silent"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "integration-test",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "shell",
|
||||||
|
"args": [
|
||||||
|
"test",
|
||||||
|
"--no-build",
|
||||||
|
"--configuration",
|
||||||
|
"DebugOpt",
|
||||||
|
"Content.IntegrationTests/Content.IntegrationTests.csproj",
|
||||||
|
"--",
|
||||||
|
"NUnit.ConsoleOut=0",
|
||||||
|
"NUnit.MapWarningTo=Failed.ConsoleOut=0",
|
||||||
|
"NUnit.MapWarningTo=Failed"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "test"
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "silent"
|
||||||
|
},
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user