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

Fix JUnit rule run order #1363

Merged

Conversation

leonard84
Copy link
Member

Prior to this commit the rules were executed in the wrong order.
When rules we used in both parent and child classes,
then the rules in the child classes were executed before those of the parent class.

Fixes #1050

marcphilipp
marcphilipp previously approved these changes Jul 28, 2021
Prior to this commit the rules were executed in the wrong order.
When rules we used in both parent and child classes,
then the rules in the child classes were executed before those of the parent class.

Fixes spockframework#1050
@leonard84 leonard84 merged commit 9c390d8 into spockframework:master Aug 5, 2021
@leonard84 leonard84 deleted the 1050-fix-junit-rule-run-order branch August 5, 2021 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spock executes JUnit 4 Rules from superclasses in the wrong order
2 participants