Skip to content

Commit 5274220

Browse files
committed
add pytest-cov, configure coverage in pyproject
1 parent 7ef5b59 commit 5274220

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ wgl/
1313
Docs/
1414

1515
# Test cache
16+
.coverage
1617
.pytest_cache/
1718

1819
# Build artifacts

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies = [
1717
[project.optional-dependencies]
1818
test = [
1919
"pytest",
20+
"pytest-cov",
2021
]
2122

2223
[build-system]
@@ -29,4 +30,4 @@ include = ["pyarinc*"]
2930

3031
[tool.pytest.ini_options]
3132
pythonpath = ["."]
32-
addopts = "-q"
33+
addopts = "--cov=pyarinc --cov-report=term-missing"

0 commit comments

Comments
 (0)