pytest_generate_tests based on params and marks from previous parametrize #13233
Labels
topic: marks
related to marks, either the general marks or builtin
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
Issue
In userver, we add indirect params to all tests based on marks using
pytest_generate_tests
.(See the full story in #13217.)
The issue arises when we want to apply our implicit param only to some of the test items spawned from an already parametrized test:
The issue has been previously explored: #4050
Proposed syntax
What I want to discuss here is an implementation of that idea, starting with a possible syntax.
The text was updated successfully, but these errors were encountered: