Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

run multiple test cases pytest

@pytest.mark.parametrize("input, expected", [
 (1, True),
 (2, True)
])
def test_check_value(input, expected):
  assert input > 0 == expected
 
PREVIOUS NEXT
Tagged: #run #multiple #test #cases #pytest
ADD COMMENT
Topic
Name
3+7 =