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:
Now you can either click on the green plus icon or use ...
Get IntelliJ IDEA Essentials 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.