Skip to content

Fix JUnit rule run order#1363

Merged
leonard84 merged 2 commits into
spockframework:masterfrom
leonard84:1050-fix-junit-rule-run-order
Aug 5, 2021
Merged

Fix JUnit rule run order#1363
leonard84 merged 2 commits into
spockframework:masterfrom
leonard84:1050-fix-junit-rule-run-order

Conversation

@leonard84
Copy link
Copy Markdown
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

@leonard84 leonard84 requested a review from marcphilipp July 27, 2021 16:27
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
big-guy added a commit to gradle/gradle that referenced this pull request Nov 6, 2025
big-guy added a commit to gradle/gradle that referenced this pull request Nov 6, 2025
big-guy added a commit to gradle/gradle that referenced this pull request Nov 6, 2025
tresat pushed a commit to gradle/gradle that referenced this pull request Nov 7, 2025
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