Migrating from JUnit 4 to JUnit 5: replacing rules with the extension model. Part 3
In the third part of our article on JUnit we look at how we test with custom rules and extensions.
Time to focus on the new Junit 5 approach in our second article of the series where we talk about migrating from JUnit 4 to JUnit 5. Check it out.
JUnit 5 Jupiter is the combination of the new programming model (annotations, classes, methods) and extension model for writing tests and extensions in JUnit 5. The Jupiter sub-project provides a test engine for running Jupiter based tests on the platform. In contrast to the previously existing runners and rules extension points in JUnit 4, the JUnit Jupiter extension model consists of a single, coherent concept: the Extension API.