theupdateframework / theupdateframework/python-tuf

Review coverage report about non-tested statements

Open
#1,842 4 comments 0 reactions 1 assignee View on GitHub

@jalajk24 is already working on this.

Since Sep 20, 2022.

backlog testing
Dominant language
Python
Stars
1.7k
Forks
304
Avg merge
1d 2h
Merged PRs (30d)
17

Description

Description of issue or feature request:
I run 1coverage` locally to find out at how many places do we miss unit test coverage.
We are pretty good right now with coverage of 98% or we have 1138 total statements and only 16 are not tested.
I thought it could be useful to review those 16 lines and decide if testing is needed.

PS: If you want to run coverage locally you can from inside the tests directory by running:

python -m coverage run aggregate_tests.py
python -m coverage html
<BROSWER OF CHOICE> htmlcov/index.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.