-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Include classes touched by parent for testing #33047
Conversation
This comment has been minimized.
This comment has been minimized.
I'm excited about this fix, but from the description, I'm not sure if it fixes #27821. I feel like #27821 might need deeper changes to how we tell JUnit about our test's classloader; however, I think this change should fix an issue where changing a test template class doesn't trigger a test re-run, which would be great. |
When deciding if a test should be re-run we should also re-run the test if class level methods touched the changed class.
This comment has been minimized.
This comment has been minimized.
@holly-cummins I changed the description, should be good to go. |
✔️ The latest workflow run for the pull request has completed successfully. It should be safe to merge provided you have a look at the other checks in the summary. |
@holly-cummins any chance you could give this one a review? |
Thanks for the nudge, @stuartwdouglas - LGTM! |
Merging as @holly-cummins approved it. |
When deciding if a test should be re-run we should also re-run the test if class level methods touched the changed class.