From: Andrew Montagne Date: Fri, 18 Apr 2025 03:49:36 +0000 (+0100) Subject: Adds Test & Integration Test commands to the Visual Studio Code configuration (#32705) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f404ea039d3c4ebc0e41714ae5ddb14c8fdd9a82;p=space-station-14.git Adds Test & Integration Test commands to the Visual Studio Code configuration (#32705) Adds the test commands to the vscode configuration. --- diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1e95fb41b0..7f4efc8c9a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -32,6 +32,50 @@ "/consoleloggerparameters:'ForceNoAlign;NoSummary'" ], "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" } ] }