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 2
JUnit 5 Programming Model
Content Locked
Section 3
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. - How to create tags in Jupiter tests - How to filter our tests using Maven and Gradle - How to create Meta-annotations and composed annotations in Jupiter