Skip to content
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

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

stuartwdouglas
Copy link
Member

@stuartwdouglas stuartwdouglas commented May 2, 2023

When deciding if a test should be re-run we should also re-run the test if class level methods touched the changed class.

@quarkus-bot

This comment has been minimized.

@holly-cummins
Copy link
Contributor

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.
@quarkus-bot

This comment has been minimized.

@stuartwdouglas
Copy link
Member Author

@holly-cummins I changed the description, should be good to go.

@quarkus-bot
Copy link

quarkus-bot bot commented May 24, 2023

✔️ 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.

@stuartwdouglas
Copy link
Member Author

@holly-cummins any chance you could give this one a review?

@holly-cummins
Copy link
Contributor

Thanks for the nudge, @stuartwdouglas - LGTM!

@gsmet gsmet merged commit 54b49ea into quarkusio:main Jun 6, 2023
46 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.2 - main milestone Jun 6, 2023
@gsmet
Copy link
Member

gsmet commented Jun 6, 2023

Merging as @holly-cummins approved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants