Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Dropwizard testing module for JUnit 5 #2166
This PR is proposition of Dropwizard testing module with use of JUnit 5 (Issue #1944). Contains following:
Example of use:
Hey @AnDyXX, thanks for kicking this off! Much appreciated.
Is it possible to achieve backwards compatibility for the current junit4 users with a common core module? If not, we'd have to wait for something like a major version bump to introduce this change.
I'm guessing it's not possible to create the
<dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-testing</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-testing-junit5</artifactId> <scope>test</scope> </dependency>
As that might be the most preferable
Unfortunately that makes it incompatible with JUnit and would always pull in JUnit 5 and its vintage engine.
How about making the dependencies for JUnit 4 and 5 optional?