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
Fixes randomisation of doctests (#37)
* Fixes issues with doctests reported in #36 - ``class``, ``package`` and ``module`` didn't work because ``DoctestItem`` doesn't have ``cls`` or ``module`` attributes. Thanks @tobywf.
* Deprecates ``none`` bucket type.
* With tox, run tests of pytest-random-order with both pytest 3 and 4.
v1.0.0 (#33)
* Rename the Python package (not the PyPI package) to `random_order` so that pytest's `-p` flag usage is consistent.
Breaking changes:
* Python 3.5+ is required.
* Register the plugin as `random_order` (instead of `random-order`)
* Addresses #32 and perhaps could be useful re: #23 -- Plugin is still enabled by default, but randomisation is turned off by default. Can be enabled with any of the options or with the new `--random-order` flag.
pytest-xdist (#25)
Make it work with pytest-xdist as requested in #22 - generate random order seed during command line argument initialisation so that all processes get the same default value.