See pytest test parameterization: https://pytest.org/latest/parametrize.html#parametrize-basics

Example: https://github.com/CenterForOpenScience/modular-file-renderer/blob/376c0dac392617d7f6bfd3c52fb0c55f33a62571/mfr/code/test_code.py