Let\'s say I have a bunch of tests:
def test_func_one():
...
def test_func_two():
...
def test_func_three():
...
Is there a dec
You may also want to run the test even if you suspect that test will fail. For such scenario https://docs.pytest.org/en/latest/skipping.html suggests to use decorator @pytest.mark.xfail
@pytest.mark.xfail
def test_function():
...
In this case, Pytest will still run your test and let you know if it passes or not, but won't complain and break the build.