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
Python Functions, Files, and DictionariesUniversity of Michigan via Coursera Complete Modern C++ (C++11/14/17)
Udemy Java Programming Masterclass: Learn Java From Scratch
Udemy Lambda with Functional Programming in Java8
Udemy C# Advanced Topics: Prepare for Technical Interviews
Udemy