pytest-dev / pytest-repeat

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

enhancement: Repeat limited by time, "run for hh:mm:ss" or "until hh:mm:ss" #44

Open IntoCpp opened 4 years ago

IntoCpp commented 4 years ago

I have a rarely occurring "long delay" issue when using a resource via network. It usually happens in the 8-15 hours range but sometimes never. It usually recover after a few minutes (of a transactions that takes less than a second). I wish I could loop my tests all night, but be certain it stops in the morning to free the resources. If I do a "CTRL-C" I miss the final report.

Not a big priority, but a nice to have. Thanks for the great work.