|
17 | 17 | "request": "launch",
|
18 | 18 | "runtimeExecutable": "${execPath}",
|
19 | 19 | "args": [
|
20 |
| - // Create a temp profile that has no extensions / user settings. |
21 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
22 |
| - "--profile-temp", |
23 |
| - "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj/.vscode/lsp_tools_host_slnWithCsproj.code-workspace", |
| 20 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 21 | + // This profile must be imported into vscode before running this launch configuration. |
| 22 | + // The profile can be found under /test/csharp-test-profile. |
| 23 | + "--profile", |
| 24 | + "csharp-test-profile", |
| 25 | + "${workspaceRoot}/test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/.vscode/slnWithCsproj.code-workspace", |
24 | 26 | "--extensionDevelopmentPath=${workspaceRoot}",
|
25 |
| - "--extensionTestsPath=${workspaceRoot}/out/test/integrationTests" |
| 27 | + "--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests" |
26 | 28 | ],
|
27 | 29 | "env": {
|
28 | 30 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
34 | 36 | "preLaunchTask": "buildDev",
|
35 | 37 | "internalConsoleOptions": "openOnSessionStart"
|
36 | 38 | },
|
| 39 | + { |
| 40 | + "name": "[DevKit] Launch Current File slnWithCsproj Integration Tests", |
| 41 | + "type": "extensionHost", |
| 42 | + "request": "launch", |
| 43 | + "runtimeExecutable": "${execPath}", |
| 44 | + "args": [ |
| 45 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 46 | + // This profile must be imported into vscode before running this launch configuration. |
| 47 | + // The profile can be found under /test/csharp-test-profile. |
| 48 | + "--profile", |
| 49 | + "csharp-test-profile", |
| 50 | + "${workspaceRoot}/test/lsptoolshost/integrationTests/testAssets/slnWithCsproj/.vscode/devkit_slnWithCsproj.code-workspace", |
| 51 | + "--extensionDevelopmentPath=${workspaceRoot}", |
| 52 | + "--extensionTestsPath=${workspaceRoot}/out/test/lsptoolshost/integrationTests" |
| 53 | + ], |
| 54 | + "env": { |
| 55 | + "CODE_EXTENSIONS_PATH": "${workspaceRoot}", |
| 56 | + "TEST_FILE_FILTER": "${file}", |
| 57 | + }, |
| 58 | + "sourceMaps": true, |
| 59 | + "outFiles": ["${workspaceRoot}/dist/*.js", "${workspaceRoot}/out/test/**/*.js"], |
| 60 | + "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"], |
| 61 | + "preLaunchTask": "buildDev", |
| 62 | + "internalConsoleOptions": "openOnSessionStart" |
| 63 | + }, |
37 | 64 | {
|
38 | 65 | "name": "Launch Current File BasicRazorApp2_1 Integration Tests",
|
39 | 66 | "type": "extensionHost",
|
40 | 67 | "request": "launch",
|
41 | 68 | "runtimeExecutable": "${execPath}",
|
42 | 69 | "args": [
|
43 |
| - // Create a temp profile that has no extensions / user settings. |
44 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
45 |
| - "--profile-temp", |
46 |
| - "${workspaceRoot}/test/razorIntegrationTests/testAssets/BasicRazorApp2_1/.vscode/lsp_tools_host_BasicRazorApp2_1.code-workspace", |
| 70 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 71 | + // This profile must be imported into vscode before running this launch configuration. |
| 72 | + // The profile can be found under /test/csharp-test-profile. |
| 73 | + "--profile", |
| 74 | + "csharp-test-profile", |
| 75 | + "${workspaceRoot}/test/razor/razorIntegrationTests/testAssets/BasicRazorApp2_1/.vscode/lsp_tools_host_BasicRazorApp2_1.code-workspace", |
47 | 76 | "--extensionDevelopmentPath=${workspaceRoot}",
|
48 |
| - "--extensionTestsPath=${workspaceRoot}/out/test/razorIntegrationTests" |
| 77 | + "--extensionTestsPath=${workspaceRoot}/out/test/razor/razorIntegrationTests" |
49 | 78 | ],
|
50 | 79 | "env": {
|
51 | 80 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
63 | 92 | "request": "launch",
|
64 | 93 | "runtimeExecutable": "${execPath}",
|
65 | 94 | "args": [
|
66 |
| - // Create a temp profile that has no extensions / user settings. |
67 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
68 |
| - "--profile-temp", |
69 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_${input:omnisharpAssetName}.code-workspace", |
| 95 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 96 | + // This profile must be imported into vscode before running this launch configuration. |
| 97 | + // The profile can be found under /test/csharp-test-profile. |
| 98 | + "--profile", |
| 99 | + "csharp-test-profile", |
| 100 | + "${workspaceRoot}/test/omnisharp/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_${input:omnisharpAssetName}.code-workspace", |
70 | 101 | "--extensionDevelopmentPath=${workspaceRoot}",
|
71 |
| - "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests" |
| 102 | + "--extensionTestsPath=${workspaceRoot}/out/test/omnisharp/omnisharpIntegrationTests" |
72 | 103 | ],
|
73 | 104 | "env": {
|
74 | 105 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
86 | 117 | "request": "launch",
|
87 | 118 | "runtimeExecutable": "${execPath}",
|
88 | 119 | "args": [
|
89 |
| - // Create a temp profile that has no extensions / user settings. |
90 |
| - // This allows us to only have the C# extension + the dotnet runtime installer extension dependency. |
91 |
| - "--profile-temp", |
92 |
| - "${workspaceRoot}/omnisharptest/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_lsp_${input:omnisharpAssetName}.code-workspace", |
| 120 | + // Launch VSCode using a specific profile to ensure that user settings are not used. |
| 121 | + // This profile must be imported into vscode before running this launch configuration. |
| 122 | + // The profile can be found under /test/csharp-test-profile. |
| 123 | + "--profile", |
| 124 | + "csharp-test-profile", |
| 125 | + "${workspaceRoot}/test/omnisharp/omnisharpIntegrationTests/testAssets/${input:omnisharpAssetName}/.vscode/omnisharp_lsp_${input:omnisharpAssetName}.code-workspace", |
93 | 126 | "--extensionDevelopmentPath=${workspaceRoot}",
|
94 |
| - "--extensionTestsPath=${workspaceRoot}/out/omnisharptest/omnisharpIntegrationTests" |
| 127 | + "--extensionTestsPath=${workspaceRoot}/out/test/omnisharp/omnisharpIntegrationTests" |
95 | 128 | ],
|
96 | 129 | "env": {
|
97 | 130 | "CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
0 commit comments