phpunit
phpunit copied to clipboard
Random order seed is taken into account only if the order by option is "random"
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).