Let's imagine I have 1 test case with different parameters:
@pytestrail.case('C11')@pytest.mark.parametrize('number1,number2', [(1, 2), (1, 3)])def test_sum(number1, number2):assert number1 + number2 == 4
In test rail I get failed and passed results. And the whole test case is marked as "passed".
Could you add the possibility to mark whole test case as failed if there is even one failed test from pytest.mark.parametrize, please?
p.s.
I know that I can create different test cases in testrail and mark them separately, but I would like to have described one scenario with different parameters that is related to the single Testrail test case
Hi, guys.
Let's imagine I have 1 test case with different parameters:
@pytestrail.case('C11')
@pytest.mark.parametrize('number1,number2', [(1, 2), (1, 3)])
def test_sum(number1, number2):
assert number1 + number2 == 4
In test rail I get failed and passed results. And the whole test case is marked as "passed". Could you add the possibility to mark whole test case as failed if there is even one failed test from pytest.mark.parametrize, please?
p.s. I know that I can create different test cases in testrail and mark them separately, but I would like to have described one scenario with different parameters that is related to the single Testrail test case