-
Course
- Core Tech
Migrating from the JUnit 4 to the JUnit 5 Testing Platform
This course examines the principles and practice of migrating the tests of a Java application from JUnit 4 to JUnit 5. This course will teach you how to make the migration in a systematic and organized way, addressing all testing levels.
What you'll learn
There are a large amount of JUnit 4 tests written for present-day applications, but migrating to the latest version, JUnit 5, comes with many new features and annotations to utilize. In this course, Migrating from the JUnit 4 to the JUnit 5 Testing Platform, you’ll learn to move your JUnit tests from version 4, taking the advantages of the capabilities of version 5. First, you’ll explore the automated testing principles and concepts. Next, you’ll discover how to make the step from JUnit 4 to JUnit 5. Finally, you’ll learn how to move your tests to JUnit 5 at all levels (unit, integration, system, acceptance). When you’re finished with this course, you’ll have the skills and knowledge of the effective migration from JUnit 4 to JUnit 5 needed to move the existing applications to the version 5 approach of the JUnit framework.
Table of contents
- Version Checks | 15s
- Introducing the Migration Problems between JUnit 4 and JUnit 5 | 6m 22s
- Replacing the Needed Dependencies | 3m 47s
- Equivalent Classes, Annotations, and Methods | 7m 21s
- Moving from Categories to Tags | 5m 52s
- Migrating the Hamcrest Matcher Functionality | 2m 38s
- Migrating the JUnit 4 Rules | 4m 52s
- Migrating the Custom Rules | 6m 1s
About the author
Cătălin studied Computer Science in Bucharest, graduating in 1997 and obtaining a PhD in 2006. He has taught at POLITEHNICA București and has been involved in the software development industry for decades.
More Courses by Catalin