aboutcode-org / aboutcode-org/scancode-toolkit

Add rerun capability to pytest test failures

Open
#2,976 1 comment 1 reaction 0 assignees View on GitHub
bug nice to have
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.