Open GamalielMasters opened 2 years ago
This sounds like a reasonable and not-so-hard feature to implement.
pycrunch/discovery/ast_discovery.py
for methods looks_like_test_name
and looks_like_test_class
Unfortunately, I do not have a lot of time to work on that due to the situation in my country. But I'm willing to accept PR
Pytest discovery allows for configuring the language used to determine what is and is not a test by customizing the file, class and function / method names search using glob patterns. It would be awesome if PyCrunch were to allow similar configuration (and even more awesome if it picked up pytest's configuration automatically when using pytest as the engine).
I prefer to use alternate terminology in my tests, but right now have I to choose between my preferred terms, utilizing PyCrunch.