pytest-dev / pytest-repeat

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

this plugin can repeat cases after fliter by mark ? #60

Closed smiceice closed 1 year ago

smiceice commented 1 year ago

when repeat a large times, collecting items will out of memory and killed by system, becasuse it repeat all cases then filter case

RonnyPfannschmidt commented 1 year ago

Currently it is impossible to do repeat after filter as filtering is applied after collection, and repeat is integrated with collection

A major change of pytest and its collection tree would be necessary to enable this

smiceice commented 1 year ago

thx, I got it and find another solution