I think that the person who supports the project does not have much time to support the project: the last update was 5 months ago, and the error tracker is filled with related open problems. One of them is closely related to your problem:
, run(order=N) , - . :
import pytest
@pytest.mark.run(order=3)
def test_three():
assert True
@pytest.mark.run(order=4)
def test_four():
assert True
@pytest.mark.run(order=2)
def test_two():
assert True
@pytest.mark.run(order=1)
def test_one():
assert True
:
test.py::test_one PASSED
test.py::test_two PASSED
test.py::test_three PASSED
test.py::test_four PASSED