pytest-spec
pytest-spec copied to clipboard
remove configured prefixes instead of hardcoding
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.
I use "Describe" as the prefix for my test classes.