Tag Archives: Testing

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 , , | 2 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

Spring testing support in IntelliJ IDEA 10

Please try IntelliJ IDEA X (EAP) with new Spring testing related support. There is a number of things to note: 1. @ContextConfiguration support with completion, navigation, usages search and error highlighting 2. @TransactionConfiguration 3. All Spring related inspections, quick fixes … Continue reading

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

No More Missing TestNG Tests

I often forget to add newly created tests to the testng.xml, which is used in our TeamCity build, and by the time I realize that they don’t run something is surely went wrong. What a bummer! Not any more, fortunately … Continue reading

Posted in New Features | Tagged , , | 2 Comments