python-pytest-cases icon indicating copy to clipboard operation
python-pytest-cases copied to clipboard

Add new `regex` parameter to complement `glob` in `@parametrize_with_cases`

Open smarie opened this issue 4 years ago • 1 comments
trafficstars

As suggested in #147 by @Ps0ke

smarie avatar Dec 02 '20 17:12 smarie

@phistep do you remember what was your need about this ? (from #147) . Do you still think that the 4 filters mechanisms (described here) are not satisfying for daily use and therefore that adding a regexp one would be required ? I remind that filter can receive a callable so that is already a first level of workaround - although not the most elegant I guess

Let me know if this is still relevant, and feel free to propose something if needed !

smarie avatar Jun 01 '21 08:06 smarie