@@ -7,6 +7,10 @@ _pytest-order_ - a pytest plugin to order test execution
7
7
your tests are run. It uses the marker ` order ` that defines when a specific
8
8
test shall be run relative to the other tests.
9
9
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
+
10
14
Documentation
11
15
-------------
12
16
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
23
27
has been created by Frank Tobia, the author of that plugin, and
24
28
[ contributors] ( https://github.com/mrbean-bremen/pytest-order/blob/master/AUTHORS ) .
25
29
26
- Compatibility to pytest_ordering
27
- ---------------------------------
30
+ Compatibility with pytest_ordering
31
+ ----------------------------------
28
32
` pytest-order ` is ** not** compatible with ` pytest-ordering ` due to the
29
33
changed marker name (` order ` instead of ` run ` ). Only the ` order `
30
34
marker is supported, support for all additional markers has been removed for
@@ -52,11 +56,11 @@ For example, this code:
52
56
53
57
import pytest
54
58
55
- @pytest.mark.run( order= 2)
59
+ @pytest.mark.order( 2)
56
60
def test_foo():
57
61
assert True
58
62
59
- @pytest.mark.run( order= 1)
63
+ @pytest.mark.order( 1)
60
64
def test_bar():
61
65
assert True
62
66
0 commit comments