|
44 | 44 | ]
|
45 | 45 | },
|
46 | 46 | {
|
47 |
| - "name": "Talon tests", |
48 |
| - "type": "node", |
| 47 | + "name": "Extension tests subset", |
| 48 | + "type": "extensionHost", |
49 | 49 | "request": "launch",
|
50 |
| - "program": "${workspaceFolder}/packages/test-harness/out/scripts/runTalonTests", |
51 | 50 | "env": {
|
52 | 51 | "CURSORLESS_TEST": "true",
|
| 52 | + "CURSORLESS_RUN_TEST_SUBSET": "true", |
53 | 53 | "CURSORLESS_REPO_ROOT": "${workspaceFolder}"
|
54 | 54 | },
|
| 55 | + "args": [ |
| 56 | + "--profile=cursorlessDevelopment", |
| 57 | + "--extensionDevelopmentPath=${workspaceFolder}/packages/cursorless-vscode/dist", |
| 58 | + "--extensionTestsPath=${workspaceFolder}/packages/test-harness/out/runners/extensionTests" |
| 59 | + ], |
55 | 60 | "outFiles": ["${workspaceFolder}/**/out/**/*.js"],
|
56 |
| - "preLaunchTask": "${defaultBuildTask}", |
| 61 | + "preLaunchTask": "Prepare test subset", |
57 | 62 | "resolveSourceMapLocations": [
|
58 | 63 | "${workspaceFolder}/**",
|
59 | 64 | "!**/node_modules/**"
|
60 | 65 | ]
|
61 | 66 | },
|
62 | 67 | {
|
63 |
| - "name": "Talon tests subset", |
| 68 | + "name": "Talon tests", |
64 | 69 | "type": "node",
|
65 | 70 | "request": "launch",
|
66 | 71 | "program": "${workspaceFolder}/packages/test-harness/out/scripts/runTalonTests",
|
67 | 72 | "env": {
|
68 | 73 | "CURSORLESS_TEST": "true",
|
69 |
| - "CURSORLESS_RUN_TEST_SUBSET": "true", |
70 | 74 | "CURSORLESS_REPO_ROOT": "${workspaceFolder}"
|
71 | 75 | },
|
72 | 76 | "outFiles": ["${workspaceFolder}/**/out/**/*.js"],
|
|
77 | 81 | ]
|
78 | 82 | },
|
79 | 83 | {
|
80 |
| - "name": "Unit tests only", |
| 84 | + "name": "Talon tests subset", |
81 | 85 | "type": "node",
|
82 | 86 | "request": "launch",
|
83 |
| - "program": "${workspaceFolder}/packages/test-harness/out/scripts/runUnitTestsOnly", |
| 87 | + "program": "${workspaceFolder}/packages/test-harness/out/scripts/runTalonTests", |
84 | 88 | "env": {
|
85 | 89 | "CURSORLESS_TEST": "true",
|
| 90 | + "CURSORLESS_RUN_TEST_SUBSET": "true", |
86 | 91 | "CURSORLESS_REPO_ROOT": "${workspaceFolder}"
|
87 | 92 | },
|
88 | 93 | "outFiles": ["${workspaceFolder}/**/out/**/*.js"],
|
|
93 | 98 | ]
|
94 | 99 | },
|
95 | 100 | {
|
96 |
| - "name": "Run test subset", |
97 |
| - "type": "extensionHost", |
| 101 | + "name": "Unit tests only", |
| 102 | + "type": "node", |
98 | 103 | "request": "launch",
|
| 104 | + "program": "${workspaceFolder}/packages/test-harness/out/scripts/runUnitTestsOnly", |
99 | 105 | "env": {
|
100 | 106 | "CURSORLESS_TEST": "true",
|
101 |
| - "CURSORLESS_RUN_TEST_SUBSET": "true", |
102 | 107 | "CURSORLESS_REPO_ROOT": "${workspaceFolder}"
|
103 | 108 | },
|
104 |
| - "args": [ |
105 |
| - "--profile=cursorlessDevelopment", |
106 |
| - "--extensionDevelopmentPath=${workspaceFolder}/packages/cursorless-vscode/dist", |
107 |
| - "--extensionTestsPath=${workspaceFolder}/packages/test-harness/out/runners/extensionTests" |
108 |
| - ], |
109 | 109 | "outFiles": ["${workspaceFolder}/**/out/**/*.js"],
|
110 | 110 | "preLaunchTask": "${defaultBuildTask}",
|
111 | 111 | "resolveSourceMapLocations": [
|
|
0 commit comments