Tag Archives: Testing

Support for JUnit 5 M4 in IntelliJ IDEA 2017.2

IntelliJ IDEA provides support for the upcoming JUnit 5 release. JUnit has pretty much been the standard for Java unit testing for years, and the latest version brings the library right up to date, making use of Java 8 features … Continue reading

Posted in New Features | Tagged , , | 3 Comments

Using JUnit 5 in IntelliJ IDEA

One of the new features in IntelliJ IDEA 2016.2 is support for the new JUnit 5 testing framework.  Almost all Java developers will have used JUnit at some point, so it’s pretty exciting to find the newest version has evolved with the … Continue reading

Posted in New Features | Tagged , , , | 59 Comments

Why Write Automated Tests?

After writing a post for the Upsource blog about evaluating tests during code review, I found myself compelled to write something more general on why we should be writing automated tests. If you already know the value of tests, you … Continue reading

Posted in Tips & Tricks | Tagged , , | 6 Comments

Code Coverage for JavaScript Unit Testing

This is a cross-post from WebStorm & PhpStorm blog, originally posted by Sergey Simonchik. Measuring JavaScript code coverage naturally complements unit testing. It provides a clear picture of which parts of your code remain untested, and helps you focus additional … Continue reading

Posted in New Features | Tagged , | 4 Comments

New Coverage View in IntelliJ IDEA 11.1

IntelliJ IDEA 11.1 introduces a new way of browsing the gathered coverage information through a dedicated Coverage View. This view aggregates the coverage details over a configured scope in one place. It provides ability to sort data by coverage percentage, what … Continue reading

Posted in New Features | Tagged , , , | 17 Comments

Testing Tip: Run Test Method from Abstract Test Class

Sometimes you have an abstract test class with test methods where the inheritors set up different environment. As it is impossible to run an abstract class you had to enumerate inheritors manually, choose corresponding methods and run these methods one … Continue reading

Posted in New Features | Tagged , , | 5 Comments

Spring 3.1: Testing with @Configuration classes and profiles

Latest Spring 3.1 features can be easily found in IntelliJ IDEA 11 release. If you’ve already started testing your applications with @Configuration classes and environment profiles, tell us how it works for you in IntelliJ IDEA.

Posted in Demos, News & Events | Tagged , , , | 2 Comments

New in 10.5: Create and open tests for Groovy classes faster

We’ve added a couple of new productivity features in IntelliJ IDEA 10.5 to make working with Groovy tests two bits more pleasant: 1. Now you can create tests for Groovy classes the same way you do in Java. You just … Continue reading

Posted in New Features | Tagged , , | 6 Comments

Android unit-testing support

With IntelliJ IDEA X you can write unit tests for your Android application using Android Testing Framework. Android unit tests are located in a separate test module, so first you need to add it (i.e. named tests) to your project, … Continue reading

Posted in New Features | Tagged , , | 6 Comments

Generate dependencies for Spring TestContext Framework

IntelliJ IDEA 10 gives you an easy way of generating bean dependencies for Spring Test Contexts. Simply hit Alt+Insert in your Spring Test to invoke the “Generate…” popup, select the “Bean dependency…” action to run and choose the beans you … Continue reading

Posted in New Features | Tagged , , , | Leave a comment