Run specific test in py.test through the pycharm IDE

Viewed 526

Considering the following snippet:

import pytest

@pytest.mark.parametrize("a, b", [
    (1, 1),
    (2, 2),
    (2, 3)
])
def test_eq(a, b):
    assert a == b

Now this creates three (trivial) tests. Now during debugging I notice the third test fails. How would I tell pycharm to rerun the third test configuration (in debugging mode)? right clicking on this test run in the ide only shows me a context menu to rerun the whole test_eq test set.

1 Answers
Related