Deep Dive into JUnit 5
Offered By: Devoxx via YouTube
Course Description
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
Related Courses
Java Workshop - Einführung in die Testgetriebene Entwicklung mit JUnitopenHPI Engineering Maintainable Android Apps
Vanderbilt University via Coursera Software Construction: Data Abstraction
The University of British Columbia via edX Software Design Methods and Tools
University of Colorado System via Coursera Software Development
The University of British Columbia via edX