Skip to content

Knowing the coverage #16

@dpshelio

Description

@dpshelio

Make sure you've installed pytest-cov in your environment.

  • Run the coverage and produce an html report.
    pytest --cov="times" --cov-report "html"
  • Visualise it by opening the html report in your browser (open the htmlcov/times_py.html)
  • Commit, push and link to this issue by including Answers UCL-ARC-RSEworkshop-summer-25/RSE-Classwork#16 in the commit message.

Ensure Github Actions also reports your coverage!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions