Skip to content

Commit

Permalink
Set default pytest options to generate html/xml coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Jul 29, 2024
1 parent e79eb5b commit 6a3e8b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ build-backend = "poetry.core.masonry.api"

[tool.coverage.run]
omit = ["conftest.py", "test_*.py", "*_test.py"]

[tool.pytest.ini_options]
addopts = "--capture=no --verbose --cov --cov-report=html --cov-report=xml"

0 comments on commit 6a3e8b9

Please sign in to comment.