I want to run each selected py.test item an arbitrary number of times, sequentially.
I don\'t see any standard py.test mechanism for doing this.
I attempted to d
One possible strategy is parameterizing the test in question, but not explicitly using the parameter.
For example:
@pytest.mark.parametrize('execution_number', range(5))
def run_multiple_times(execution_number):
assert True
The above test should run five times.
Check out the parametrization documentation: https://pytest.org/latest/parametrize.html