2.5 out of 5
2 reviews on Udemy

JUnit 5: The New Generation Testing Framework for the JVM

Practical guide to learn JUnit 5 with real world test cases
Packt Publishing
25 students enrolled
English [Auto-generated]
Understand the new features of JUnit 5
Learn the JUnit framework
Write test cases in JUnit 5
Run tests in JUnit 5
Explore JUnit 5 Programming Model
Integrate your test cases with third-party frameworks

In this video we will start by introducing the new features of JUnit 5, architecture, and description of the main Java 5 APIs. After that we will be learning about the low-level details of JUnit 5, i.e., how to write JUnit 5 test cases (programing model)

About The Author

Boni García has a
PhD degree in Information and Communications Technology from
Universidad Politécnica de Madrid (UPM), Spain in 2011. Currently he is
working as an Assistant Professor at Centro Universitario de Tecnología y
Arte Digital (U-tad), Spain. He has participated actively in three
different research groups: Real-Time Systems and Telematic Services
Architecture (STRAST), UPM; Telematic System for Information and
Knowledge Society (TSIC), UPM; and currently on CodeUrjc (Universidad
Rey Juan Carlos).

He has participated in 12
European research projects, publishing more than 20 papers in different
journals and at international conferences. García is an active member
of the FOSS community with a big emphasis on Software Testing, Web
Engineering, and Computer Networking.

What’s New in JUnit 5

The Course Overview

This video provides an overview of the entire title.

Moving from JUnit 4 to JUnit 5

JUnit 4 is the default testing framework for millions of Java
developers worldwide. Due to the fact that this version of JUnit has
important drawbacks, and a new version (JUnit 5) has been released. The
main new features of JUnit 5 are explained in this video.

JUnit 5 Architecture

JUnit 5 framework has been designed to be completely modular. The main JUnit 5 components are explained in this video.

JUnit Platform

The JUnit platform is a completely new component in JUnit 5. It is
aimed to be the foundation for any testing framework that is going to
be executed in a JVM.

Running Tests in JUnit 5

This video covers the tools that are supported by JUnit 5.

Extension Model

The Extension model provides seamless integration of JUnit 5 with
existing testing frameworks. In order to create a custom extension,
several actions have to be taken into account, which are explained in
this video.

JUnit 5 Programming Model

Standard Tests

In this video, we are going to learn the basics to write tests based on the JUnit 5 programming model, called Jupiter.


An assertion (or predicate) is a boolean statement typically used to reason about software correctness.

Tagging and Filtering Tests

Test classes and methods can be tagged in the JUnit 5 programming
model by means of the annotation @Tag. Those tags can later be used to
filter test discovery and execution.

Conditional Test Execution
In this video, we are going to learn how to create conditional tests using the JUnit 5 programming model.
Nested and Repeated Tests

In this video, we are going to take a look at nested and repeated tests within the JUnit 5 programming model.

Dynamic Tests

Old versions of JUnit (3 and 4) allow you to create test in
compile tests, that is, static tests. With JUnit 5, tests can be created
in runtime, that is, dynamic tests.

Dependency Injection

In this video, we are going to take a look at dependency injection
for constructors and methods. We review the three parameter resolvers
provided out of the box in the JUnit 5 programming model.

Test Interfaces
In this video, we are going to review the Jupiter annotations that can be declared on Java interfaces.
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
2.5 out of 5
2 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


1 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion