Skip to content

Commit 7591216

Browse files
committed
Minor changes to README
- add platform and Python versions - fix usage example
1 parent 292ce54 commit 7591216

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ _pytest-order_ - a pytest plugin to order test execution
77
your tests are run. It uses the marker `order` that defines when a specific
88
test shall be run relative to the other tests.
99

10+
`pytest-order` works with Python 2.7 and 3.5 - 3.9, with pytest
11+
versions >= 3.6.0, and runs on Linux, MacOs and Windows.
12+
13+
1014
Documentation
1115
-------------
1216
Apart from this overview, the following information is available:
@@ -23,8 +27,8 @@ that are now integrated into `pytest-order`. The idea and most of the code
2327
has been created by Frank Tobia, the author of that plugin, and
2428
[contributors](https://github.com/mrbean-bremen/pytest-order/blob/master/AUTHORS).
2529

26-
Compatibility to pytest_ordering
27-
---------------------------------
30+
Compatibility with pytest_ordering
31+
----------------------------------
2832
`pytest-order` is **not** compatible with `pytest-ordering` due to the
2933
changed marker name (`order` instead of `run`). Only the `order`
3034
marker is supported, support for all additional markers has been removed for
@@ -52,11 +56,11 @@ For example, this code:
5256

5357
import pytest
5458

55-
@pytest.mark.run(order=2)
59+
@pytest.mark.order(2)
5660
def test_foo():
5761
assert True
5862

59-
@pytest.mark.run(order=1)
63+
@pytest.mark.order(1)
6064
def test_bar():
6165
assert True
6266

0 commit comments

Comments
 (0)