build(backend): add pytest-cov configuration and report generation

This commit is contained in:
Piotr Oleszczyk 2026-03-03 22:06:24 +01:00
parent ba1f10d99f
commit 5ad9b66a21
2 changed files with 102 additions and 1 deletions

View file

@ -22,6 +22,7 @@ dev = [
"httpx>=0.28.1",
"isort>=8.0.0",
"pytest>=9.0.2",
"pytest-cov>=6.0.0",
"ruff>=0.15.2",
"ty>=0.0.18",
]
@ -29,7 +30,7 @@ dev = [
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-v --tb=short"
addopts = "-v --tb=short --cov=innercontext --cov-report=term-missing --cov-report=html"
[tool.isort]
profile = "black"