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

YouTube

Deep Dive into JUnit 5

Devoxx via YouTube

Overview

Dive deep into JUnit 5 with this comprehensive conference talk by core committer Sam Brannen. Explore the evolution of testing in Java, from JUnit 4 to JUnit 5, and discover how the latest version addresses modern programming needs. Learn about the architecture of JUnit 5, including launchers and test engines, and witness live coding demonstrations showcasing key features such as tagging, custom display names, dependency injection, conditional test execution, and lambda expressions for assertions. Gain insights into the new extension model, covering topics like authoring and registering extensions for conditional tests, parameter resolution, and lifecycle callbacks. Understand how JUnit 5 supports interface default methods for testing traits and see its integration with the Spring Framework. Benefit from Sam Brannen's extensive experience in enterprise Java development and his role as a core committer for both the Spring Framework and JUnit 5.

Syllabus

Intro
Sam Brannen
Impetus for Change
JUnit 4 Runner API
JUnit Lambda - Crowdfunding Campaign
Roadmap
JUnit 5-in a Nutshell
Launcher API
TestEngine API
IDEs and Build Tools
JUnit Jupiter - Extension Model
JUnit Jupiter - Programming Model
Annotations
Assertions
Test Names
Dependency Injection
Custom Tags
Conditional Test Execution
Interface Default Methods
Nested Test Classes
Dynamic Tests
What's Missing?
Spring Support for JUnit Jupiter
Configuring JUnit Jupiter with Spring
Spring Boot 1.4 + JUnit 5 - Custom Config
Spring Boot 1.4 + JUnit 5 - Mock Mvc Test
JUnit 5 Resources
Spring Resources

Taught by

Devoxx

Reviews

Start your review of Deep Dive into JUnit 5

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.