pytest-rerunfailures
pytest-rerunfailures copied to clipboard
Decorator to disable a test rerunning
Hi, thanks for such a helpful library! While using this library I encountered a test suit that deals badly with the rerunnig. Basically, that test spawns multiple threads on reruns and pytest never exits, but I want to keep the other test to be able to rerun with the provided global flags options --rerun, etc, so my question is is it currently possible to decorate one test suit so it wouldn't rerun on failure?
Currently this is not possible. A pull request would be welcome.