-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Guess" the test file from changed module #3
Comments
Pytest already knows which all tests to run. So maybe if we introspect the code and identify which all tests are using the methods we just changed, this can be done. What do you think? |
It's possible to check through Change in a method
Change in a class
I'll take a look on |
I think would be good to also run the tests that use the class/function which was modified |
I hope it's not too impolite to point out 2 projects which already implement this: |
Let's say you've changed
house/serializers.py
. Would be nice to run the tests ofhouse/test_serializers.py
or even the tests that were related.To keep in mind:
The text was updated successfully, but these errors were encountered: