Book Image

Introduction to JUnit 5 [Video]

By : Boni García
Book Image

Introduction to JUnit 5 [Video]

By: Boni García

Overview of this book

<p><span id="description" class="sugar_field">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)</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This course takes a step-by-step approach to take you through the new features of JUnit 5 with real-world test cases. You will learn about the programming model by writing test cases.</span></span></span></p>
Table of Contents (2 chapters)
Chapter 1
Getting Started with JUnit 5
Content Locked
Section 2
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. - It is completely modular (JUnit 5 = Platform, Jupiter, Vintage) - It provides seamless integration with third-party frameworks (Spring, Mockito, etc) - Test discovery and execution are decoupled in JUnit 5