How to Use pytest‑rerunfailures to Rerun Flaky Tests
This guide explains how to install, configure, and apply the pytest‑rerunfailures plugin—including basic –r usage, example test files, configuration files, advanced custom rerun conditions, and the @pytest.mark.flaky decorator—to improve stability of intermittent Python test failures.