Simple play icon Course
Skills

JUnit 5 Fundamentals

by Esteban Herrera

This course will teach you how to write unit tests with JUnit 5, covering topics like why unit tests are important, the structure of good unit tests, dynamic and parameterized tests, extensions, code coverage, and more.

What you'll learn

An important part of developing high-quality software is testing. As a developer, you're in charge of unit testing your code, and in Java, JUnit is the most popular framework for this task. In this course, JUnit 5 Fundamentals, you'll learn about unit testing in JUnit 5, if you're familiar with JUnit 4 you'll be introduced to the latest features within the new version. First, you'll explore how to create test cases with the new features of JUnit 5. Next, you'll discover how to use dynamic tests. Finally, you'll cover how to implement extensions to create more maintainable tests. By the end of this course, you'll have the necessary knowledge to create unit tests for your projects in JUnit 5.

About the author

Esteban Herrera has more than fifteen years of experience in the software development industry. He has worked in many roles and projects, but mostly architecting and developing enterprise systems with Java and Javascript. Nowadays, he spends all of his time learning new things, writing articles, teaching programming, and enjoying his kids.

Ready to upskill? Get started