aboutcode-org / aboutcode-org/scancode-toolkit

Add rerun capability to pytest test failures

Đang mở
#2,976 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug nice to have
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ả

I've noticed with a recent PR (https://github.com/nexB/scancode-toolkit/pull/2958) that one test in particular (`FAILED tests/scancode/test_cli.py::test_scan_does_scan_php_composer`) seems to fail with near-regularity, yet often will subsequently pass after being manually rerun.

As @pombredanne pointed out when we were discussing how best to handle this behavior, https://github.com/pytest-dev/pytest-rerunfailures may offer an effective method to address these sorts of intermittent failures. Fingers crossed. ;-]

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.