logilab-common #295922 pytest -t should randomize tests order [validation pending]
pytest -t runs tests in whichever order os.listdir() returned, which is what readdir(2) returned. Bottom line, this order is perfectly stable between consecutive runs. A little randomness should help spot tests that are not fully independent of one another.
|appeared in||<not specified>|
|closed by||#99881205d7c4 [pytest] Randomize tests order when using -t (closes #295922)|
|patch||[pytest] Randomize tests order when using -t (closes #295922) [applied]|