PyTest - Markers
What will happen when running this pytest code?
@pytest.mark.xfail(strict=True)
def test_func():
assert 2 + 2 == 4@pytest.mark.xfail(strict=True)
def test_func():
assert 2 + 2 == 415+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions