105 строки
3.8 KiB
JSON
105 строки
3.8 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/src/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Unit tests",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"-u",
|
|
"tdd",
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"${workspaceFolder}/out/test/unitTests/**/*.test.js"
|
|
],
|
|
"sourceMaps": true,
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch Feature Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test/featureTests"
|
|
],
|
|
"env": {
|
|
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
|
|
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/featureTests",
|
|
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
"OSVC_SUITE": "featureTests"
|
|
},
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch singleCsproj Workspace Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceRoot}/test/integrationTests/testAssets/singleCsproj",
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
],
|
|
"env": {
|
|
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
|
|
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/integrationTests",
|
|
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/singleCsproj",
|
|
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
"OSVC_SUITE": "singleCsproj"
|
|
},
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch slnWithCsproj Workspace Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
|
|
],
|
|
"env": {
|
|
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
|
|
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/integrationTests",
|
|
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
|
|
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
|
|
"OSVC_SUITE": "slnWithCsproj"
|
|
},
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/out/test/**/*.js"
|
|
]
|
|
}
|
|
]
|
|
} |