-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Support @Rule for methods works only for TestRule but not for MethodRule #589
Comments
@matthewfarwell Do you have time to take a look? |
Ah, good point. |
Yes, I'll have a look when I have a minute or two... |
I'm thinking about contributing to this project. Mind if I take a swing at this? |
Sure, go ahead. You would first have to verify this issue is (still) present. |
@marcphilipp I have verified with latest build that the problem persists. BlockRunner does not call the |
Have resolved the issue and created pull request #1015 |
Resolved #589 where the method rules returned my methods were not e...
The support introduced in #83 seems to work now (in JUnit 4.11) only for org.junit.rules.TestRule implementations, but it misses org.junit.rules.MethodRule (un-deprecated again) when looking for methods annotated by @rule
The text was updated successfully, but these errors were encountered: