test: Add poetry-cov library

This commit is contained in:
Marty Oehme 2023-10-17 21:16:40 +02:00
parent c9736a5f32
commit 14f1b9e75c
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 20 additions and 1 deletions

20
poetry.lock generated
View file

@ -730,6 +730,24 @@ pluggy = ">=0.12,<2.0"
[package.extras]
testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
[[package]]
name = "pytest-cov"
version = "4.1.0"
description = "Pytest plugin for measuring coverage."
optional = false
python-versions = ">=3.7"
files = [
{file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"},
{file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"},
]
[package.dependencies]
coverage = {version = ">=5.2.1", extras = ["toml"]}
pytest = ">=4.6"
[package.extras]
testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"]
[[package]]
name = "python-doi"
version = "0.2.0"
@ -1074,4 +1092,4 @@ whoosh = ["whoosh"]
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "dac37f6a903033ed95f65a69f7ca90a115aa390284835c2a8e82ea3fc0a196ab"
content-hash = "02d5ac314a19f14103372c7ceccdaec080df3fdc2fdb1381f2f6343cd6d17db4"

View file

@ -22,6 +22,7 @@ whoosh = ["whoosh"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
coverage = "^7.3.1"
pytest-cov = "^4.1.0"
[tool.poetry.plugins."papis.command"]
extract = "papis_extract:main"