python-pytest-cases
python-pytest-cases copied to clipboard
Filter cases by parametrization
Hello,
Thanks for the excellent work with this library. I have a scenario that I can't get to work and I was wondering if there is a way around it or not.
I have a case generator with some complicated logic and multiple @parametrize
annotations. Depending on how it has been parametrized it should be tested by different functions. So I have been trying to use use the filter
argument in @parametrize_with_cases
to filter based on how the case is currently parametrized. However, similar to #217 the id contains only the "base" and not the full thing. Is there a way to filter based on the full case id?
Thanks