New hook to customize @pytest.mark.parametrize test ids #930
Labels
topic: parametrize
related to @pytest.mark.parametrize
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
Milestone
Currently
@pytest.mark.parametrize
can customize the generated ids for its parameters by passing a list of strings or a function.It would be nice for plugins to be able to customize those ids for some specific types (#923), or even supplied by the user on a
conftest
file to generate readable parameter ids even for project-specific objects.I propose to add a new hook along the lines of:
The text was updated successfully, but these errors were encountered: