Skip to content

Add test coverage reporting (pytest-cov)#5

Open
faizollah wants to merge 2 commits into
mainfrom
2-test-coverage
Open

Add test coverage reporting (pytest-cov)#5
faizollah wants to merge 2 commits into
mainfrom
2-test-coverage

Conversation

@faizollah

@faizollah faizollah commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Closes #2

Builds on the unit + integration test suite already in main by adding coverage measurement, as suggested in the issue (pytest-cov).

Changes

  • Add pytest-cov to the dev optional-dependencies extra
  • Configure coverage source (flwrcrate) in pyproject.toml
  • CI now runs pytest --cov=flwrcrate --cov-report=term-missing --cov-fail-under=85
  • README Development section documents how to run coverage

Notes

The existing suite (40 unit + integration tests) was merged to main earlier without a closing reference, so this PR is what formally resolves #2.

- pytest-cov in the dev extra; coverage source config in pyproject
- CI runs pytest with --cov and a --cov-fail-under=85 gate (currently ~92%)
- README Development section documents coverage usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit tests

1 participant