O'Reilly logo

IntelliJ IDEA Essentials by Jarosław Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a run/debug configuration for the test

In general, IntelliJ IDEA runs and debugs tests in the same way as every other application. The run/debug configuration setup is almost identical to the one we described in Chapter 5, Make It Happen – Running Your Project. When the run/debug configuration is created, IntelliJ IDEA passes the individual test classes or methods to the test runner.

The run/debug configuration can be shaped in a number of ways. The first method is to pick the Edit Configurations… option from the run configuration's drop-down menu, as shown in the following screenshot:

Creating a run/debug configuration for the test

Now you can either click on the green plus icon or use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required