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!
Make sure you've installed
pytest-covin your environment.htmlcov/times_py.html)Answers UCL-ARC-RSEworkshop-summer-25/RSE-Classwork#16in the commit message.Ensure Github Actions also reports your coverage!