Tanya Agarwal

Results 5 comments of Tanya Agarwal

Hi, How we can test this scenario, I can't see xpass as a marker in pytest.

Yeah Got it so what we are facing issue here? Isin't a feature that if xfail testcase is passed then it will came as xpassed in outcome? import pytest @pytest.mark.xfail...

So basically we have to revert this change and if xfail testcase is by mistakly fixed then the outcome should be passed?? And for non_strict_xfail we should have new mark??

Overview of 4 scenarios for xfail and non_strict_xfail xfail testcase which is expectedly fail: import pytest @pytest.mark.xfail def test_example_expected_fail(): assert 3 + 3 == 7 # This test is marked...

okay Got it Thanks