Simple play icon Course
Skills Expanded

Migrating from the JUnit 4 to the JUnit 5 Testing Platform

by Catalin Tudose

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.

About the author

Cătălin Tudose is a Java Champion, Java and Web Technologies Expert, and a Java Chapter Lead in Luxoft, Romania. Born in Pitești, Argeș, Romania, he studied Computer Science in Bucharest, graduating in 1997 and obtaining a PhD in 2006, with the thesis "Spatial Databases for the Reconstruction of the Relief". He has taught courses and seminaries at POLITEHNICA București on Advanced Java Programming, Java Programming with Spring and Hibernate, Analysis of Algorithms, Computer Graphics, Logic Desig... more

Ready to upskill? Get started