Parametrize with fixtures via a plugin #13364
Replies: 1 comment 2 replies
-
at first glance this looks like a very confusing way to express parameterize a custom mechanism for potentially covariant parameterize ( opposed to current cross-product parameterize) is not the same as my initial Summary after a shirt skim of the sourcecode ist hat this is a novel , but very confusing way of expressing covariant fixtures its not a way to refer to dynamically Chosen fixtures as parameters and its not a way to use fixtures as origin for parameters |
Beta Was this translation helpful? Give feedback.
-
Some time ago I've stumbled upon PROPOSAL: Parametrize with fixtures, and I think I might have a different solution to the problem, one that can be implemented as a plugin.
Proof of concept is at https://github.com/mrzechonek/pytest-bonsai
It's in early stages (particularly wrt documentation) but seems to work - I'm using in real-world test suites and people seem to like it.
Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions