Skip to content

Commit 639dd02

Browse files
committed
Minor doc updates.
1 parent e6bd4a9 commit 639dd02

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,27 @@ pytest plugin to run your tests in a specific order
55

66
[![Build Status](https://travis-ci.org/ftobia/pytest-ordering.svg?branch=develop)](https://travis-ci.org/ftobia/pytest-ordering)
77

8-
Have you ever wanted to easily run one of your tests before any others run? Or run some tests last? Or run this one test before this one other test? Or make sure that this group of tests runs after this other group of tests?
8+
Have you ever wanted to easily run one of your tests before any others run?
9+
Or run some tests last? Or run this one test before that other test? Or
10+
make sure that this group of tests runs after this other group of tests?
911

1012
Now you can.
1113

1214
Install with:
1315

1416
pip install pytest-ordering
15-
17+
1618
This defines some pytest markers that you can use in your code.
1719

1820
For example, this:
1921

2022
import pytest
2123

22-
@pytest.mark.order2
24+
@pytest.mark.run(order=2)
2325
def test_foo():
2426
assert True
2527

26-
@pytest.mark.order1
28+
@pytest.mark.run(order=1)
2729
def test_bar():
2830
assert True
2931

0 commit comments

Comments
 (0)