Java Testing Skills with JUnit 5, Mockito 3, and More


Duration: 50 mins
Kenneth Kousen
Founder, KousenIT

The fundamental testing libraries in Java have undergone complete redesigns in the past few years. JUnit 5 redesigns the most well-known tool in all of testing. The most popular mocking library, Mockito, has also been rebuilt. This talk will demonstrate the new features, how they are intended to be used, and discuss experimental ideas in the pipeline.

JUnit has been remarkably stable over the years and is one of the most widely adopted frameworks in the Java world. The latest version, JUnit 5, takes JUnit to the next level. Full of new features like conditional test execution, parametric testing, labeling and filtering tests, and more, it brings all the modern thinking on testing into the JUnit world. It also takes advantage of the functional features added to Java since version 8 to create a powerful, new library for testing your code. With the release of Mockito 3, the mocking library now requires functional features from Java 8 and takes advantage of them in interesting ways. This talk will demonstrate both libraries, and briefly discuss popular alternatives.

You may also be interested in

50 mins
Defensive Coding Bootcamp

Do you build things that can be hacked? Want to lower those odds? Join us to learn the basics of...

50 mins
Get 'Go'ing with Microservices

This talk covers getting started with microservices in golang, using protobufs, grpc and unit testing. Getting started with microservices in golang...

50 mins
An Introduction to Constraint Programming

The two most common programming paradigms are the imperative (including OO) and functional styles. An alternative style, supported originally through...

25 mins
Introducing Combine to iOS without Over"reacting"

Apple has now embraced a reactive style for handling data within your iOS and macOS apps. In this talk we’ll...

50 mins
The Magic of Delegates in Kotlin

Very many good books on OO design have advised us to choose delegation over inheritance. Yet, most developers using OO...

50 mins
Heroku PaaS Apps to Feature your Work in any Language

Ever thought that you write code and promote, the application runs and automatically deploys? Do you want to deploy free hosting...