Skip to content

Commit

Permalink
Report test coverage via console and HTML report (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorJohn authored Sep 1, 2024
1 parent cc83f91 commit d31924a
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.venv/
__pycache__/
.idea/
.coverage
105 changes: 103 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ruff = "^0.4.4"
pre-commit = "^3.7.0"
mypy = "^1.10.0"
pytest = "^8.2.0"
pytest-cov = "^5.0.0"

[tool.poetry.scripts]
cfmtoolbox = "cfmtoolbox.__main__:__name__"
Expand All @@ -32,6 +33,9 @@ debug = "cfmtoolbox.plugins.debug"
[tool.ruff.lint]
extend-select = ["I"]

[tool.pytest.ini_options]
addopts = "--cov=cfmtoolbox --cov-report term-missing --cov-report html"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit d31924a

Please sign in to comment.