You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No warning when --random-order-seed is used when test execution order is not random #4571
When you only use the --random-order-seed 123 without also using --order-by random, the seed is not taken into account and no warning message is displayed. This might be a common mistake, I think the DX could be improved.
Could we either:
Take the seed into account by switching the default order by to random when it is not specified and there is a given seed.
Display a warning message when there is a given seed but the order by is not random (it's obviously a mistake I guess).
changed the title [-]Random order seed is taken into account only if the order by option is "random"[/-][+]No warning when `--random-order-seed` is used when test execution order is not random[/+]on Apr 9, 2026
Activity
[-]Random order seed is taken into account only if the order by option is "random"[/-][+]No warning when `--random-order-seed` is used when test execution order is not random[/+]sebastianbergmann commentedon Apr 9, 2026
Closed via 8142518.