-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
DropwizardExtensionSupport multiple extensions cannot be ordered #3549
Labels
Milestone
Comments
I am able to work around it with these two classes:
and changing the snippet above to no longer use
Is there a reason that the dropwizard extensions don't implement the junit5 interfaces directly like this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to be able to set up a stub DropwizardClientExtension to mock an upstream service that my dropwizard app is dependent on. This was possible in junit4 but does not appear possible in junit5.
This fails with a NPE:
In junit4 we could use a rule chain in order to specify the order of these dependencies; however adding
@Order
to these two fields does not appear to work.The text was updated successfully, but these errors were encountered: