Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

JUnit 5 - What's New and What's Coming

Spring I/O via YouTube

Overview

Explore the latest features and upcoming developments in JUnit 5 with core committer Sam Brannen in this Spring I/O 2019 conference talk. Gain valuable insights into the powerful programming model, including examples of calculator tests, timeouts, custom tags, argument conversion, and dynamic tests. Learn about configuring parallelism, execution modes, and synchronization introduced in version 5.3. Discover the new extension model and its APIs for lifecycle callbacks. Understand the DisplayNameGenerator feature coming in version 5.4, along with conditional test execution and built-in conditions from version 5.1. Delve into annotations, assertions, and assumptions, as well as JUnit 4 rule migration support. Get tips on Spring support for JUnit Jupiter, including automatic test constructor autowiring and custom configurations in Spring Boot 2.1. Enhance your testing skills for Spring and Spring Boot applications using JUnit Jupiter, and learn how to upgrade JUnit 5 versions in Spring Boot projects.

Syllabus

Intro
Sam Brannen
Java Versions
IDEs and Build Tools
More powerful Programming Model
Example: Calculator Tests
Timeouts
Custom Tags
Argument Conversion and Aggregation
Dynamic Tests
Configuring Parallelism (5.3)
Execution Mode and Synchronization (5.3)
New Extension Model
Extension APIs - Lifecycle Callbacks
DisplayNameGenerator (5.4)
Conditional Test Execution
Built-in Conditions (5.1)
Annotations, Assertions, Assumptions
JUnit 4 Rule Migration Support
JUnit 4 lgnore and Assumption Support (5.4)
Spring Support for JUnit Jupiter
Configuring JUnit Jupiter with Spring
Automatic Test Constructor Autowiring (5.2)
Spring Boot 2.1 & JUnit Jupiter - Custom Config
Spring Boot 2.1 & JUnit Jupiter - MockMvc Test
Tip: Upgrading JUnit 5 Version in Spring Boot

Taught by

Spring I/O

Reviews

Start your review of JUnit 5 - What's New and What's Coming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.