setup pytest-cov
This commit is contained in:
parent
5fc1606fb5
commit
db0114bf16
|
@ -13,3 +13,5 @@ adhoc_*
|
||||||
adhoc.py
|
adhoc.py
|
||||||
venv/
|
venv/
|
||||||
.venv
|
.venv
|
||||||
|
.coverage
|
||||||
|
htmlcov
|
||||||
|
|
|
@ -80,7 +80,16 @@ py3-validate-email = "^0.2.10"
|
||||||
pytest = "^6.1.0"
|
pytest = "^6.1.0"
|
||||||
black = "^20.8b1"
|
black = "^20.8b1"
|
||||||
pre-commit = "^2.7.1"
|
pre-commit = "^2.7.1"
|
||||||
|
pytest-cov = "^2.10.1"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
addopts = """
|
||||||
|
--cov=.
|
||||||
|
--cov-report=term:skip-covered
|
||||||
|
--cov-report=html:htmlcov
|
||||||
|
--cov-fail-under=60
|
||||||
|
"""
|
||||||
|
|
Loading…
Reference in New Issue