aboutcode-org / aboutcode-org/scancode-toolkit

licensedcode `detection.py` lacks unit tests

Offen
#4,195 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

We have a lot of full tests checking individual cases of detection issues here, but we likely miss many cases as these are not proper unit tests. See for example the case of bugs in `is_false_positive` function at https://github.com/aboutcode-org/scancode-toolkit/pull/4009 where this was fixed.

We need to ensure all the cases are accounted for and tested with unit tests.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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