Open Anjiang-Wei opened 3 years ago
It appears that the tests augmented with pytest-flakefinder plugin do not repeat in a function
mode. For example, if setting scope=function mode for pytest-repeat, test1's repeat should be: test1, test1 (consecutively). However, it appears to me that it does not seem to be the case in pytest-flakefinder.
Unittest tests do not supported fixture parameterization, this won't change
@RonnyPfannschmidt Would this be reasonable to document, and then close, as it's not fixable?
This ought to be documented as limitation imposed by the core unittesting plugin which doesn't support parameterization
Ah. It's already documented I'm thinking a longer "Limitations" section in the README might be cool to cover this and any other items, like #21, but for now, this is already documented. This is in the README, but it's not obvious.
@RonnyPfannschmidt Thanks for your thoughts on these issues.
If it's too easy to miss, maybe there is a way to make the reader stumble More to The point
I find the plugin pytest-flakefinder (https://github.com/dropbox/pytest-flakefinder), which seems to support UnitTest Style Tests already. You may want to refer to this file: https://github.com/dropbox/pytest-flakefinder/blob/master/tests/test_flakefinder.py Do you think it helpful for pytest-repeat?