pytest-rerunfailures icon indicating copy to clipboard operation
pytest-rerunfailures copied to clipboard

Decorator to disable a test rerunning

Open dchebakov opened this issue 3 years ago • 1 comments

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?

dchebakov avatar Apr 26 '22 21:04 dchebakov

Currently this is not possible. A pull request would be welcome.

icemac avatar Apr 27 '22 06:04 icemac