differences and benefits between JUnit 4 to JUnit 5:
https://www.baeldung.com/junit-5-migration According to this blog what I study for the Junit 4 and Junit5: JUnit 5 is a powerful and flexible update to the JUnit framework, providing various improvements and new capabilities to organize and describe test cases and to help understand test results. Upgrade to JUnit 5 is quick and easy: Just update your project dependencies and start using the new functionality. JUnit 4 bundles everything into a single JAR file. JUnit 5 consists of three sub-projects, namely JUnit Platform, JUnit Jupiter, and JUnit Vintage. 1. JUnit platform It defines TestEngine's API for developing new testing frameworks that run on the platform. 2.JUnit Jupiter It has all the new JUnit annotations and TestEngine implementations to run tests written with those annotations. 3.JUnit Vintage Support for running tests written by JUnit 3 and JUnit 4 on the JUnit 5 platform. But here are four strong reasons to start writing new test cases with JUnit 5: JUnit 5 takes advan...