pytest-random-order icon indicating copy to clipboard operation
pytest-random-order copied to clipboard

Keep random-order-bucket=none

Open matejcik opened this issue 6 years ago • 1 comments

The none value for random-order-bucket is deprecated.

Here's a usecase that IMHO warrants keeping it.

In our project, the top-level setup.cfg enables random-order by adding addopts = --random-order. From that point on, it's not possible to disable randomization on the command line: using -p no:random_order deactivates the plugin, which makes the --random-order argument invalid.

The only option here is to specify --random-order-bucket=none.

matejcik avatar Aug 08 '19 15:08 matejcik

Thanks @matejcik for the use case. I will not remove it in future.

jbasko avatar Aug 08 '19 23:08 jbasko