PyTest - Parametrize
Which of the following is the correct syntax to parametrize a test with two inputs
a and b in pytest?a and b in pytest?@pytest.mark.parametrize with a string of parameter names and a list of tuples for values.@pytest.mark.parametrize('a,b', [(1, 2), (3, 4)]). Others have wrong names or formats.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions