setup test coverage measurement
This commit is contained in:
2
.coveragerc
Normal file
2
.coveragerc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[run]
|
||||||
|
branch = True
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -5,3 +5,5 @@ homeassistant/**
|
|||||||
tsun_proxy/**
|
tsun_proxy/**
|
||||||
Doku/**
|
Doku/**
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.coverage
|
||||||
|
coverage.xml
|
||||||
|
|||||||
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"python.testing.pytestArgs": [
|
"python.testing.pytestArgs": [
|
||||||
"-vv",
|
"-vv",
|
||||||
"app","system_tests"
|
"app",
|
||||||
|
"--cov=app/src",
|
||||||
|
"--cov-report=xml",
|
||||||
|
"--cov-report=html",
|
||||||
|
"system_tests"
|
||||||
],
|
],
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.testing.pytestEnabled": true
|
"python.testing.pytestEnabled": true
|
||||||
|
|||||||
Reference in New Issue
Block a user