chapter twelve

12 JUnit 5 IDE support

 

This chapter covers

  • Introducing IDEs
  • Examining the usage of JUnit 5 from IntelliJ IDEA
  • Executing JUnit 5 tests from IntelliJ IDEA
  • Examining the usage of JUnit 5 from Eclipse
  • Executing JUnit 5 tests from Eclipse
  • Examining the usage of JUnit 5 from NetBeans
  • Executing JUnit 5 tests from NetBeans
  • Comparing JUnit 5 usage in IntelliJ IDEA, Eclipse, and NetBeans

Enjoy the little things, for one day you may look back and realize they were the big things.

-Robert Brault

In this chapter, we will analyze and compare the main IDEs that may be used for developing Java applications tested with the help of JUnit 5.

12.1   Introducing IDEs

An IDE (Integrated Development Environment) is a software application that provides software development facilities for computer programmers. Java IDEs represent a great tool to more easily write and debug Java programs.

Taking into account the popularity of the Java programming language, there are many IDEs that have been created for the help of developers. From these ones, we have selected three for our analysis and comparison, the most popular ones in use: IntelliJ IDEA, Eclipse, and NetBeans. At the time of developing this chapter, different market shares analysis were evaluating IntelliJ IDEA and Eclipse at about 40% or more, each of them, while NetBeans is evaluated at about 10% or more. We have also included this one in our analysis as it is still the third option on the market and it is popular in some regions of the world.

12.2   Using JUnit 5 with IntelliJ IDEA

12.3   Using JUnit 5 with Eclipse

12.4   Using JUnit 5 with NetBeans

12.5   Comparing JUnit 5 usage in IntelliJ, Eclipse, and NetBeans

12.6   Summary