Skip to content

Commit 721df4c

Browse files
committed
test: add input selection for unittest debugging
1 parent e37f2a1 commit 721df4c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.vscode/launch.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
6+
"inputs": [
7+
{
8+
"id": "test",
9+
"type": "pickString",
10+
"description": "Pick the type of test for this session",
11+
"default": "unitTest/",
12+
"options": [
13+
{
14+
"label": "unitTest",
15+
"value": "unitTest"
16+
},
17+
{
18+
"label": "integration",
19+
"value": "integration"
20+
}
21+
]
22+
}
23+
],
624
"configurations": [
725
{
826
"name": "Launch Extension",
@@ -21,7 +39,7 @@
2139
"${workspaceFolder}/test/fortran",
2240
"--disable-extension=fortran-lang.linter-gfortran",
2341
"--extensionDevelopmentPath=${workspaceFolder}",
24-
"--extensionTestsPath=${workspaceFolder}/out/test"
42+
"--extensionTestsPath=${workspaceFolder}/out/test/${input:test}"
2543
],
2644
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
2745
"preLaunchTask": "npm: pretest"

0 commit comments

Comments
 (0)