phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

Random order seed is taken into account only if the order by option is "random"

Open fancyweb opened this issue 4 years ago • 0 comments

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:

  1. Take the seed into account by switching the default order by to random when it is not specified and there is a given seed.
  2. Display a warning message when there is a given seed but the order by is not random (it's obviously a mistake I guess).

fancyweb avatar Dec 30 '20 16:12 fancyweb