Skip to content

Commit 861d3b7

Browse files
committed
misc: update VSCode tasks to include specific unit test commands for Yubico projects
1 parent edec70a commit 861d3b7

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"problemMatcher": "$msCompile"
1515
},
1616
{
17-
"label": "run tests: unit",
17+
"label": "run unit tests: Yubico.YubiKey",
1818
"command": "dotnet",
1919
"type": "process",
2020
"args": [
@@ -29,6 +29,22 @@
2929
"isDefault": true
3030
}
3131
},
32+
{
33+
"label": "run unit tests: Yubico.Core",
34+
"command": "dotnet",
35+
"type": "process",
36+
"args": [
37+
"test",
38+
"${workspaceFolder}/Yubico.Core/tests/Yubico.Core.UnitTests.csproj",
39+
"/property:GenerateFullPaths=true",
40+
"/consoleloggerparameters:NoSummary"
41+
],
42+
"problemMatcher": "$msCompile",
43+
"group": {
44+
"kind": "test",
45+
"isDefault": true
46+
}
47+
},
3248
{
3349
"type": "dotnet",
3450
"task": "build",

0 commit comments

Comments
 (0)