Parametrizing tests — pytest documentation

docs.pytest.org docs.pytest.org