It’s an unusual year for JUnit. The testing framework will see not one but three feature releases in 2025. Version 5.12 was released in February, 5.13 will be released in May, and 6.0 is scheduled for September.
First, we’ll look at JUnit 5.12, which introduced support for the new version of the Open Test Reporting XML format, including output capturing, file attachments, and a new HTML report. Contrary to the legacy XML format, Open Test Reporting supports all features of the JUnit Platform. Moreover, adoption by other ecosystems has already started.
Next, we’ll cover JUnit 5.13, which added support for parameterizing test classes rather than just methods. Parameterized classes were the most highly voted issue in JUnit’s issue tracker. Besides unlocking new use cases, they finally offer a straightforward migration path from JUnit 4 parameterized tests.
Last but not least, we’ll share our plans for JUnit 6.0 which, among other things, will raise the Java and Kotlin baselines to 17 and 2.x, respectively.