-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Currently, only one order marker per test is allowed. This does not matter if the markers are directly on the test, as the attributes can always be written i the same marker, but it does if there are both class and test markers shall be used, e.g.:
@pytest.mark.order(after="TestClass2")
class TestClass1:
@pytest.mark.order(2)
def test_1():
pass
@pytest.mark.order(1)
def test_2():
pass
will currently not work, because the class marker will be ignored if a local test marker is present.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working