We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d30fc3e commit a7f9df2Copy full SHA for a7f9df2
docs/source/usage.rst
@@ -503,6 +503,7 @@ of the concerned test modules:
503
504
pytestmark = pytest.mark.order(1)
505
506
+
507
def test_1():
508
...
509
example/usage/order_modules/__init__.py
@@ -1,4 +1,4 @@
1
-""" Each module uses pytestmark to set the order for that module.
+"""Each module uses pytestmark to set the order for that module.
2
The tests inside each module will be executed in the same order as without ordering,
3
while the test modules will be ordered as defined in pytestmark, in this case in the order:
4
test_module3 -> test_module2 -> test_module1
0 commit comments