You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorting the parametrized tests based on their 'Pass/Fail' status doesn't work as expected.
For example in the test like: @pytest.mark.parametrize("a", list(range(1, 100))) def test_foo(a): assert a % 5 != 0
If I run it with the pytest -k test_foo -n 4
Expected result: the parametrized tests are sorted - failed test first, then passed one
Actual result: the parametrized tests are not sorted as expected
The text was updated successfully, but these errors were encountered:
Sorting the parametrized tests based on their 'Pass/Fail' status doesn't work as expected.
For example in the test like:
@pytest.mark.parametrize("a", list(range(1, 100)))
def test_foo(a):
assert a % 5 != 0
If I run it with the
pytest -k test_foo -n 4
Expected result: the parametrized tests are sorted - failed test first, then passed one
Actual result: the parametrized tests are not sorted as expected
The text was updated successfully, but these errors were encountered: