Add slow tests list to VScode task code coverage (#60183)

This commit is contained in:
Simone Chemelli 2021-11-24 01:13:44 +01:00 committed by GitHub
parent ec44a55b2c
commit 7e9ff26b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
.vscode/tasks.json vendored
View File

@ -64,7 +64,7 @@
"label": "Code Coverage",
"detail": "Generate code coverage report for a given integration.",
"type": "shell",
"command": "pytest ./tests/components/${input:integrationName}/ --cov=homeassistant.components.${input:integrationName} --cov-report term-missing",
"command": "pytest ./tests/components/${input:integrationName}/ --cov=homeassistant.components.${input:integrationName} --cov-report term-missing --durations-min=1 --durations=0",
"group": {
"kind": "test",
"isDefault": true