JUnit 5 Extension Now Available | Inflectra

JUnit 5 Extension Now Available

July 17th, 2018 by inflectra

JUnit 5 is the next generation of JUnit. The goal was to create an up-to-date foundation for developer-side testing on the JVM. This included focusing on Java 8 and above, as well as enabling many different styles of testing. JUnit 5 is the result of these efforts, and at Inflectra we already have JUnit 5 available for integration with SpiraTest, SpiraTeam, or SpiraPlan.

Why Integrate with Unit Tests

At Inflectra, we love helping our customers build awesome products. Without functioning code though, building an application is impossible. Many developers run unit tests, which help ensure specific ‘units’ of the application work as they should. We integrate with many of these unit testing frameworks so you can quickly diagnose the problem and get back to developing!

What's New with JUnit?

With the help of our intern, Peter, we have updated our JUnit extension to work with JUnit 5, the newest JUnit release as of the writing of this article.

With only a couple extra lines of code, you can easily report your unit testing results back into the test case of your choice within SpiraTeam:

With this feature, you can efficiently identify which test cases need attention. If you like, you can also associate your test runs with specific releases and test sets inside JUnit so you can conveniently control your workflow even more. The test runs recording include a fully copy of the stack trace reported back by the automation framework:

 

The new extension will only work with JUnit 5 and above, so please make sure your JUnit is up to date before using this version of the extension.

Don't worry, the zipfile for our extension does contain the older JUnit 3/4 compatible extension if you need it!

junit automated testing java unit testing spiratest tdd