@@ -38,10 +38,9 @@ ordering, all configuration options) that are not available in
3838
3939Supported Python and pytest versions
4040------------------------------------
41- ``pytest-order `` supports python 3.7 - 3.12 and pypy3, and is
41+ ``pytest-order `` supports python 3.9 - 3.13 and pypy3, and is
4242compatible with pytest 5.0.0 or newer (older versions may also work, but are
43- not tested) for Python versions up to 3.9, and with pytest >= 6.2.4 for
44- Python versions >= 3.10.
43+ not tested) for Python 3.9, and with pytest >= 6.2.4 for Python versions >= 3.10.
4544
4645All supported combinations of Python and pytest versions are tested in
4746the CI builds. The plugin shall work under Linux, MacOs and Windows.
@@ -83,15 +82,17 @@ For example, for the following tests:
8382
8483 the output is something like::
8584
86- $ pytest test_foo.py -vv
87- ============================= test session starts ==============================
88- platform darwin -- Python 3.7.1, pytest-5.4.3, py-1.8.1, pluggy-0.13.1 -- env/bin/python
89- collected 2 items
9085
91- test_foo.py:2: test_foo PASSED
92- test_foo.py:6: test_bar PASSED
86+ $ pytest -vv example/introduction/test_quickstart.py
87+ ============================================ test session starts =============================================
88+ platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- /home/user/.venv/pytest-order-3.13/bin/python3.13
89+ rootdir: /home/user/projects/git/pytest-order
90+ plugins: order-1.3.0
91+ collected 2 items
9392
94- =========================== 2 passed in 0.01 seconds ===========================
93+ example/introduction/test_quickstart.py::test_foo PASSED [ 50%]
94+ example/introduction/test_quickstart.py::test_bar PASSED [100%]
95+ ============================================= 2 passed in 0.02s ==============================================
9596
9697With ``pytest-order ``, you can change the default ordering as follows:
9798
@@ -112,12 +113,14 @@ With ``pytest-order``, you can change the default ordering as follows:
112113 This will generate the output::
113114
114115 $ pytest test_foo.py -vv
115- ============================= test session starts ==============================
116- platform darwin -- Python 3.7.1, pytest-5.4.3, py-1.8.1, pluggy-0.13.1 -- env/bin/python
117- plugins: order
116+ ============================================ test session starts =============================================
117+ platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- /home/user/.venv/pytest-order-3.13/bin/python3.13
118+ rootdir: /home/user/projects/git/pytest-order
119+ plugins: order-1.3.0
118120 collected 2 items
119121
120- test_foo.py:7: test_bar PASSED
121- test_foo.py:3: test_foo PASSED
122+ example/introduction/test_quickstart.py::test_bar PASSED [ 50%]
123+ example/introduction/test_quickstart.py::test_foo PASSED [100%]
124+ =========================== 2 passed in 0.02 seconds ===========================
122125
123- =========================== 2 passed in 0.01 seconds ===========================
126+ Note the changed test execution order.
0 commit comments