python-pytest-cases
python-pytest-cases copied to clipboard
Support the new `idgen` style in `param_fixture`
trafficstars
The new **kwargs parametrization style @parametrize(foo=[1, 2]) automatically generates ids foo=1, etc.
This is not yet supported in param_fixture[s], maybe we should add it.
Current workaround is to use @parametrize on an identity @fixture
@fixture
@parametrize(foo=[1,2])
def foo(foo):
return foo