What is the priority of configuration settings? The documentation for pytest-rerunfailures doesn't say.
For example, if I decorate a test case like this...
@pytest.mark.flaky(reruns=3)
def test_example():
...and configure my pytest.ini file like this...
...and run tests like this...
How many reruns should I expect? I assume one of those takes top priority over the others, but which is it? And which is 2nd priority and 3rd?
What is the priority of configuration settings? The documentation for pytest-rerunfailures doesn't say.
For example, if I decorate a test case like this...
...and configure my
pytest.inifile like this......and run tests like this...
How many reruns should I expect? I assume one of those takes top priority over the others, but which is it? And which is 2nd priority and 3rd?