theupdateframework / theupdateframework/python-tuf

Review coverage report about non-tested statements

Offen
#1,842 4 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@jalajk24 arbeitet bereits daran.

Seit 20.9.2022.

backlog testing
Vorherrschende Sprache
Python
Sterne
1.7k
Forks
304
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
17

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.