str0zzapreti / pytest-retry

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

Support configuration through `pytest.ini` / `pyproject.toml` #23

Closed amotl closed 1 year ago

amotl commented 1 year ago

Dear Silas,

we just wanted to refer you to the conversation at https://github.com/earthobservations/wetterdienst/pull/1041#issuecomment-1745512644, where we outlined why we used pytest-rerunfailures, because we were fancying the possibility to configure it using pytest.ini / pyproject.toml.

Maybe this is a sensible feature you may want to add to the pytest-retry addon?

With kind regards, Andreas.

str0zzapreti commented 1 year ago

I think this is a great suggestion, thanks for bringing it to my attention. I don't think it would be too hard to implement.

str0zzapreti commented 1 year ago

Created a PR: https://github.com/str0zzapreti/pytest-retry/pull/24 If you have time for a quick review I'd sure appreciate it! Either way I should have this released sometime tomorrow.

str0zzapreti commented 1 year ago

Released with 1.5.0!