-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtasks.json
More file actions
52 lines (52 loc) · 1.63 KB
/
tasks.json
File metadata and controls
52 lines (52 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"command": "${config:python.pythonPath}",
"label": "tests",
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"type": "shell",
"options": {
"env": {
"PYTEST_ADDOPTS": "-vv --tb=native"
}
},
"args": [
"-m",
"pytest_watch",
"--runner=${config:python.pythonPath} -m pytest",
"${workspaceRoot}"
],
"problemMatcher": [
{
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^\\s+File \"(.*)\", line (\\d+), in (.*)$",
"file": 1,
"line": 2
},
{
"regexp": "^\\s+(.*)$",
"message": 1
}
],
"background": {
"activeOnStart": false,
"beginsPattern": "^=+ test session starts =+$",
"endsPattern": "^=+ [\\w, ]+ in \\d+\\.\\d\\d seconds =+$"
}
}
],
"isBackground": true
}
]
}