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
Types and Type Safety in Kotlin

In this presentation we explore the types in Kotlin, how Kotlin promotes a much better compile time type safety and...

50 mins

The LLVM Project has been around for over a decade, but is increasingly important as a compiler infrastructure to get...

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
JavaScript the Grumpy Parts

We love JavaScript, but we must admit: it's weird.  Why does 'this' behave as it does?  How does variable scope...

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
Building High Resiliency into Digital Solutions

Building high resiliency into digital solutions is a critical requirement for good customer experience, particularly for financial institutions. In this...