Skip to content

Commit e68e488

Browse files
authored
Document pytest-order for fixing test orders (#577)
1 parent e0c56db commit e68e488

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ altogether, you can use the ``-p`` argument, for example:
167167
168168
pytest -p no:randomly
169169
170+
Avoid reordering some tests
171+
---------------------------
172+
173+
To fix the order of some tests, use the ``pytest-order`` plugin.
174+
See its `documentation section <https://pytest-order.readthedocs.io/en/latest/other_plugins.html#pytest-randomly>`__ on usage with pytest-randomly.
175+
170176
Entry Point
171177
===========
172178

0 commit comments

Comments
 (0)