SoftwareUnderstanding / inspect4py

Static code analysis package for Python repositories
https://inspect4py.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
28 stars 10 forks source link

Improve test detection #310

Open dgarijo opened 3 years ago

dgarijo commented 3 years ago

At the moment, tests will be recognized if:

However, if the test imports another class where the validation is performed, we do not detect it as a test right now. This is not very common, but we should consider it too. Annotated as a TO DO in cli.py (ast_if_test function)