This project is for show casing step by step migration path from Junit 4 to Junit 5.
- Started with old spring boot version project.
- Created a simple calculator project with dependency classes for calculator
- Wrote jnit 4 tests with SpringJunit4Runner and mockito
- Upgraded with Spring boot 2.2.3 version and excluding deps in Pom file for Junit-jupiter-vintage engine
- Updated packages for @Test and assert etc as per Junit5
- Changed runner to SpringExtension
- Updated how we write assertion for exception.