| 1 |
{ |
| 2 |
"version": "2.0.0", |
| 3 |
"tasks": [ |
| 4 |
{ |
| 5 |
"label": "Pytest tests", |
| 6 |
"type": "shell", |
| 7 |
"command": "${command:python.interpreterPath}", |
| 8 |
"args": ["-m", "pytest", "tests/"], |
| 9 |
"group": "test", |
| 10 |
"problemMatcher": [] |
| 11 |
}, |
| 12 |
{ |
| 13 |
"label": "Pytest tests with coverage", |
| 14 |
"type": "shell", |
| 15 |
"command": "${command:python.interpreterPath}", |
| 16 |
"args": [ |
| 17 |
"-m", |
| 18 |
"pytest", |
| 19 |
"tests/", |
| 20 |
"--cov=aiocomelit", |
| 21 |
"--cov-report=term-missing:skip-covered" |
| 22 |
], |
| 23 |
"group": "test", |
| 24 |
"problemMatcher": [] |
| 25 |
} |
| 26 |
] |
| 27 |
} |