pytest-dev / pytest-repeat

pytest plugin for repeating test execution
https://pypi.python.org/pypi/pytest-repeat/
Other
169 stars 27 forks source link

Added `norepeat` marker #86

Open git-morin opened 3 weeks ago

git-morin commented 3 weeks ago

Adds a norepeat (or could be changed to no_repeat if it feels better) marker that allows tests to be flagged so that using the CLI arguments won't trigger repeats on them.

My use case is that I want to repeat almost every tests of my suite (via the --repeat-scope argument) but I also wanted to flag a test or two that don't need to be (and slows down the suite).

Thanks for the nice pytest plugin 💯