IntelliJ IDEA 14.0.3 Help

Keymap:

Configuring Testing Libraries

The libraries for JUnit and TestNG are shipped with IntelliJ IDEA, but are not included in the
classpath of your project or module by default. Consequently, when a test class is created,
the references to the TestCase class or test annotations are not resolved.

To add the necessary library to the classpath, you can use the general procedure of configuring libraries.
The corresponding libraries are located in the following directories: