Skip to content

Commit

Permalink
Testing of the testing framework begins
Browse files Browse the repository at this point in the history
  • Loading branch information
matepek committed Oct 15, 2018
1 parent 10cc6e0 commit 42061cf
Show file tree
Hide file tree
Showing 9 changed files with 518 additions and 107 deletions.
27 changes: 20 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,27 @@
"request": "launch",
"name": "Catch2 adapter",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/out"]
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out"
]
},
{
"type": "node",
"request": "attach",
"name": "Catch2 worker",
"processId": "${command:PickProcess}"
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
}
30 changes: 11 additions & 19 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,16 @@
"tasks": [
{
"type": "npm",
"script": "build",
"problemMatcher": [
{
"owner": "ts",
"source": "typescript",
"fileLocation": "relative",
"pattern": [
{
"regexp": "^([^:]+):([0-9]+):([0-9]+) - (error) (.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ Example:

- `--nothrow`

- Grouping by tags.
- Tests

## Contribution
Expand Down
Loading

0 comments on commit 42061cf

Please sign in to comment.