Skip to content

Add code coverage #9

Open
Open
@ginic

Description

@ginic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions