From 49b20fb0cb76f2c73b3f12e84bec68f4cab9d398 Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Thu, 16 Apr 2020 12:02:16 +0800 Subject: [PATCH] Add VSCode test tasks --- .vscode/tasks.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4087cf2fb..ca4affea6 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -32,5 +32,28 @@ "group": "build", "problemMatcher": "$msCompile" }, + // Test Tasks + { + "label": "Run tests (Debug)", + "type": "shell", + "command": "dotnet", + "args": [ + "test", + "/p:Configuration=Debug", + ], + "group": "test", + "problemMatcher": "$msCompile" + }, + { + "label": "Run tests (Release)", + "type": "shell", + "command": "dotnet", + "args": [ + "test", + "/p:Configuration=Release", + ], + "group": "test", + "problemMatcher": "$msCompile" + } ] } \ No newline at end of file