aboutcode-org / aboutcode-org/scancode-toolkit

licensedcode `detection.py` lacks unit tests

Aperta
#4,195 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.