O'Reilly logo

Pragmatic Unit Testing in Java 8 with JUnit by Jeff Langr, Andy Hunt, Dave Thomas

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

IntelliJ IDEA

You first need to install JUnit support. Navigate to IntelliJ’s Preferences dialog box and select Plugins from the left-hand menu. Scroll down to JUnit in the Plugins list and ensure that the corresponding check box is checked.

images/idea/plugins.png

Click OK.

Next, you need to download the JUnit library using Maven sources. Navigate to the Project Structure dialog box for your new iloveyouboss project (File Project Structure). From the left-side menu, select Project Settings Libraries. From the middle pane, click the + button to add a new project library:

From the Download Library From Maven Repository dialog box, you can either type the appropriate ...

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