pytest-spec icon indicating copy to clipboard operation
pytest-spec copied to clipboard

remove configured prefixes instead of hardcoding

Open satyanash opened this issue 4 years ago • 1 comments

pytest-spec should attempt to remove whatever prefix has been configured for pytest through the python_classes and python_functions config variables. Right now, it hardcodes this behaviour only for Test* prefix for classes and test_ prefix for functions/methods.

satyanash avatar Aug 19 '21 04:08 satyanash

I use "Describe" as the prefix for my test classes.

bukzor avatar Oct 15 '21 22:10 bukzor