Quantcast
Channel: testing : The IntelliJ IDEA Blog | The JetBrains Blog
Viewing all articles
Browse latest Browse all 75

Testing Tip: Run Test Method from Abstract Test Class

$
0
0

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 by one.

Now (since IntelliJ IDEA 11.1) it is possible to run tests right from the abstract base class and simply choose inheritors from the popup.

This works for JUnit and for TestNG tests.


Viewing all articles
Browse latest Browse all 75

Latest Images

Trending Articles



Latest Images