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

YouTube

JUnit 5 - Shaping the Future of Testing on the JVM

Spring I/O via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the future of testing on the JVM with JUnit 5 in this Spring I/O 2016 conference talk by core committer Sam Brannen. Discover the inspiration behind and architecture of JUnit 5, focusing on Java 8, modularity, extensibility, and a modern programming API for authoring tests. Learn about the new programming model, including dependency injection via flexible method signatures, conditional test execution, lambda expressions and method references in assertions and assumptions, and implementing test methods using interface default methods. Dive deep into JUnit 5's extension model, understanding how to create and register extensions for conditional tests, method parameter resolution, and lifecycle callbacks. Gain insights into the Launcher API, TestEngine API, and Spring support for JUnit 5. Understand the roadmap, what's missing, and how to provide feedback for this pivotal testing framework.

Syllabus

Intro
Sam Brannen
Agenda
Why a New Version of Unit?
Modularity in JUnit 4
JUnit 4 Runner API
Crowdfunding Campaign
Roadmap
JUnit 5... in a Nutshell
Architecture
Launcher API
TestEngine API
JUnit 5 Extension Model
JUnit 5 Programming Model
Annotations
Assumptions
Test Names
Dependency Injection for Methods
Custom Tags
Conditional Test Execution
Interface Default Methods
Nested Test Classes
Spring Support for JUnit 5
What's Missing?
Resources and Feedback Channels

Taught by

Spring I/O

Reviews

Start your review of JUnit 5 - Shaping the Future of Testing on the JVM

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.