pchomik / pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.
GNU General Public License v2.0
100 stars 19 forks source link

remove configured prefixes instead of hardcoding #45

Open satyanash opened 3 years ago

satyanash commented 3 years ago

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.

bukzor commented 3 years ago

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