JUnit 5 - Shaping the Future of Testing on the JVM
Offered By: Spring I/O via YouTube
Course Description
Overview
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
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