I think dropwizard-testing module doesn't support JUnit 5 yet. Mainly the rules/class rules written in Junit 4 (in dropwizard-testing) doesn't work in Junit 5.
FYI, Frameworks like Mockito now officially supports JUnit 5.
Thanks for filing a issue so we can track this improvement. I took a quick look at the migration guide. And since junit5 will support ExternalResource, it looks like the only code in dropwizard-testing that has to change (or be complemented) is ResourceTestRule which implements TestRule
Since Junit 5 has been released. It would be nice if someone updates the dropwizard testing documentation with JUnit 5 specific example.
Closed via #2166
@ramsrib where you able to test using JUnit5?
As you mentioned, the documentation still points to JUnit4
https://www.dropwizard.io/1.3.9/docs/manual/testing.html#id2