Skip to content

Commit 4d51e9c

Browse files
committed
chore(pyproject.toml): update testing dependencies and coverage reporting
Add several pytest plugins including pytest-sugar, pytest-xdist, pytest-randomly, pytest-timeout, pytest-html, and pytest-benchmark to enhance testing capabilities. Update coverage reporting to include XML output, improving integration with CI tools. These changes aim to streamline the testing process and provide more comprehensive coverage insights.
1 parent e803a20 commit 4d51e9c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ pytest = "^8.0.0"
6666
pytest-asyncio = "^0.24.0"
6767
pytest-mock = "^3.14.0"
6868
pytest-cov = "^6.0.0"
69+
pytest-sugar = "^1.0.0"
70+
pytest-xdist = "^3.6.0"
71+
pytest-randomly = "^3.15.0"
72+
pytest-timeout = "^2.3.1"
73+
pytest-html = "^4.1.1"
74+
pytest-benchmark = "^5.1.0"
6975

7076
[tool.poetry.group.docs.dependencies]
7177
mkdocs-material = "^9.5.30"
@@ -190,6 +196,9 @@ exclude_lines = [
190196
[tool.coverage.html]
191197
directory = "htmlcov"
192198

199+
[tool.coverage.xml]
200+
output = "coverage.xml"
201+
193202
[tool.pytest.ini_options]
194203
testpaths = ["tests"]
195204
python_files = ["test_*.py", "*_test.py"]
@@ -199,6 +208,7 @@ addopts = [
199208
"--cov=tux",
200209
"--cov-report=term-missing",
201210
"--cov-report=html",
211+
"--cov-report=xml",
202212
"--cov-branch",
203213
"-v",
204214
]

0 commit comments

Comments
 (0)