Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code coverage #9

Open
ginic opened this issue Jan 3, 2024 · 0 comments
Open

Add code coverage #9

ginic opened this issue Jan 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ginic
Copy link
Contributor

ginic commented Jan 3, 2024

Code Coverage: We could add a tool like Coverage.py to measure code coverage. I have also used pytest-cov in a project. Although maximizing coverage is a flawed metric to optimize for, it's still helpful and improves test writing.

Definition of done:

  • Set up pytest-cov to be run to determine test coverage for a repo
  • Test coverage is automatically determined and displayed on the GitHub repo for a project (using GitHub actions)
  • Update README testing section to describe what test coverage is, its limitations and how to determine test coverage
@ginic ginic added the enhancement New feature or request label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant