Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up"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.pyor even the tests that were related.To keep in mind: