Book Image

IntelliJ IDEA Essentials

By : Jaroslaw Krochmalski
Book Image

IntelliJ IDEA Essentials

By: Jaroslaw Krochmalski

Overview of this book

Table of Contents (17 chapters)
IntelliJ IDEA Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.