pytest-dev / pytest-rerunfailures

a pytest plugin that re-runs failed tests up to -n times to eliminate flakey failures
Other
369 stars 82 forks source link

ENH: New option to rerun failures with the exception/inclusion of a path #232

Open bsipocz opened 10 months ago

bsipocz commented 10 months ago

It would be great if it would be possible to control not to rerun failures for certain files (in my use case, the doctests in long narrative documentation pages).

icemac commented 10 months ago

This is an interesting idea, a pull request is welcome.

bsipocz commented 10 months ago

I'll see what I can do