Question first, then an explanation if you\'re interested.
In the context of py.test, how do I generate a large set of test functions from a small set of test-function te
Good instincts. py.test supports exactly what you're talking about with its pytest_generate_tests() hook. They explain it here.
py.test
pytest_generate_tests()