Open satyanash opened 3 years ago
Fwiw, splitting non-nested, top-level class names once worked but apparently broke with https://github.com/pchomik/pytest-spec/pull/18/files#diff-70bfff549b1975eda90e09b38b990f495ad9d24c3899ced8e49f3cf418a43634L72 🤷
If I have a test nested inside a class:
It should convert the class name to a sentence
When Foo Is Bar
as follows :Right now, it simply outs it as as it is:
WhenFooIsBar
. A temporary workaround could be #44, but even that requires double work to add docstrings when your class names may already be descriptive enough.