aboutcode-org / aboutcode-org/scancode-toolkit

licensedcode `detection.py` lacks unit tests

Đang mở
#4,195 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.