JUnit 5 Fundamentals

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.
Course info
Rating
(29)
Level
Intermediate
Updated
Nov 15, 2017
Duration
3h 7m
Table of contents
Description
Course info
Rating
(29)
Level
Intermediate
Updated
Nov 15, 2017
Duration
3h 7m
Description

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
About the author

Esteban Herrera has more than twelve years of experience in the software development industry. Having worked in many roles and projects, he has found his passion in programming with Java and JavaScript. Nowadays, he spends all his time learning new things, writing articles, teaching programming, and enjoying his kids.

More from the author
JMeter: Getting Started
Beginner
2h 6m
Apr 29, 2019
Design Patterns in Java: The Big Picture
Beginner
1h 49m
Dec 27, 2018
More courses by Esteban Herrera
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Esteban Herrera. Welcome to my course, JUnit 5 Fundamentals. I have been working with Java for more than 10 years. I love the language and teaching all I know about it. An important part of developing high-quality software is testing. As a developer, you are in charge of unit testing your code, and in Java, JUnit is the most popular framework for this task. This course is designed for developers who are new to unit testing and want to learn JUnit 5, or already know JUnit 4 and want to learn about the features of the new version. Some of the major topics that we will cover include the new architecture of JUnit 5 and the problem it solves, how to use JUnit to create a static and dynamic test, how to extend JUnit with the new extension mechanism, and how to integrate JUnit with Gradle and Maven. By the end of this course, you'll understand how to use JUnit 5 to write unit tests. Before beginning the course, you should have a basic knowledge of Java 8, streams, lambda expressions, and default methods in interfaces. I hope you'll join me on this journey to learn JUnit 5 with the JUnit 5 Fundamentals course at Pluralsight.