What’s New In JUnit 5

Those who can imagine anything, can create the impossible. - Alan Turing

JUnit is the most important testing framework for the JVM and one of the most influential in software engineering in general. JUnit 5 is the next generation of JUnit, and its first General Availability (GA) version (5.0.0) was released on September 10, 2017. As we will discover, JUnit 5 supposes a small revolution with respect to JUnit 4, providing a completely new architecture, programming, and extension model. This chapter covers the following content:

  • Road to JUnit 5: In the first section, we will discover the motivation to create a new major version of JUnit (that is, the limitations of JUnit 4), the design principles guiding the development ...

Get Mastering Software Testing with JUnit 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.