Skip to Content
IntelliJ IDEA Essentials
book

IntelliJ IDEA Essentials

by Jaroslaw Krochmalski
December 2014
Intermediate to advanced
276 pages
5h 54m
English
Packt Publishing
Content preview from IntelliJ IDEA Essentials

Chapter 7. Red or Green? Test Your Code

Usually, we run our unit tests from the build script. However, having the possibility to run them from the IDE can come in handy—one can jump to the failing class and start fixing bugs in no time. In IntelliJ IDEA, you can test your applications using multiple test frameworks. In this chapter, we will focus on installing plugins to test libraries, create tests, and set the runtime configuration to run them. After reading this chapter, you will be able to execute unit tests and include them in your workflow. Let's start with activating the needed plugins.

Enabling the testing plugins

Before you start, make sure you have the needed plugins installed and activated. Plugins for the most common testing libraries, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming

Ted Hagos
Optimizing Java

Optimizing Java

Benjamin J. Evans, James Gough, Chris Newland

Publisher Resources

ISBN: 9781784396930