Chapter 1
Getting Started with JUnit 5
Section 2
Moving from JUnit 4 to JUnit 5
JUnit 4 is the default testing framework for millions of Java developers worldwide. Due to the fact that this version of JUnit has important drawbacks, and a new version (JUnit 5) has been released. The main new features of JUnit 5 are explained in this video. - It is completely modular (JUnit 5 = Platform, Jupiter, Vintage) - It provides seamless integration with third-party frameworks (Spring, Mockito, etc) - Test discovery and execution are decoupled in JUnit 5