How to parametrize fixtures and test functions - pytest documentation

docs.pytest.org docs.pytest.org