aboutcode-org / aboutcode-org/scancode-toolkit

Add rerun capability to pytest test failures

未关闭
#2,976 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug nice to have
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。