str0zzapreti / pytest-retry

A simple plugin for retrying flaky tests in CI environments
MIT License
27 stars 6 forks source link

Conditional retries #9

Closed GektorPrime closed 10 months ago

GektorPrime commented 1 year ago

Please add the ability to execute retries meeting specific conditions. e.g. @pytest.mark.flaky(retries=2, condition="sys.platform.startswith('win32')")

str0zzapreti commented 10 months ago

This feature is included with the release of version 1.4.0