aboutcode-org / aboutcode-org/scancode-toolkit

Add rerun capability to pytest test failures

Aperta
#2,976 1 commento 1 reazione 0 assegnatari Vedi su GitHub
bug nice to have
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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. ;-]

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.