Java Unit Testing with JUnit 5 Essentials

Learn how to test your applications using JUnit 5 Jupiter API
Instructor:
Lharrach Abdellah
2 students enrolled
English [Auto-generated]
Understand the Architecture of JUnit 5
You will be able to use the Assertions API and Assumptions along with annotations very easily
Understand how you can use mockito to create mock objects for unit testing
understand what the extension model stands for

JUnit 5 is the next generation of JUnit. The goal is to create an up-to-date foundation for developer-side testing on the JVM. This includes focusing on Java 8 and above, as well as enabling many different styles of testing.

The goal of this course is to give developers and students the easiest way to use and benefit from the capabilities of JUnit 5 in unit testing. The course gets students to the architecture of JUnit 5 and its modular structure in order to understand the rational behind its development. then it will take students to the following sections:

  • Standard Tests With Junit: Test LifeCycle, Annotations, Assertions, Tags.

  • Mockito for Dependency injection Issues

  • Advanced Concepts: Nested Tests, Dynamic Tests, Parameterized tests

  • Extensions Model: how to Extend Jupiter core module

Introduction

1
Introduction
2
JUnit Architecture Overview

Standard Tests With Junit 5

1
Test LifeCycle
2
Basic Annotations
3
Skipping And Naming tests
4
Assertions Basics
5
Timeouts
6
Taging and Filtering Tests and Repeated Tests
7
Assumptions
8
Exception Testing
9
Meta-annotations

Advanced Junit 5 Tests

1
Nested Tests
2
Dynamic Tests
3
Parameterized Tests with ValueSources and Enums
4
Parameterized Tests with MethodSource
5
Coma-Separated Values in Parameterized tests
6
ArgumentsSource in Patrameterized Tests
7
Explicit Conversion of Arguments

Extension Model

1
Extension Model OverView
2
Test LifeCycle and ExtensionContext
3
Conditional Tests With The Extension Model
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!

Be the first to add a review.

Please, login to leave a review
261e9863b72d0f3d381485f1dc09b69d
30-Day Money-Back Guarantee

Includes

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