Eclipse Plugin: JUintRunner

Eclipse Plugin JUintRunner

When I am writing JUnit test cases I often want to run the current test I am writing. In Eclipse one can just right click and choose Run As>JUnit Test. But this runs all the tests in the current Class which is not what I want. It is just too slow and inefficient. :-)

To run just the current test I use a plugin called JUnitRunner. Using this is just as easy to use as the Eclipse feature. Just right click anywhere within the test and choose Run As>JUnitRunner Test. That’s it. The current test will be executed. A great time saver.

Vasanth Dharmaraj is a Java Architect currently working for Western Union living in the Bay Area. He is interested in programming, gadgets, formula one... You can follow him on Twitter.

Posted in Eclipse, Java, Software
4 comments on “Eclipse Plugin: JUintRunner
  1. dominikg says:

    iirc its also possible to select a method in the outline view and use the context menu there to run only the selected test method.

  2. Vasanth says:

    Thats interesting. I will check that out.

  3. I’d always wanted something like this.

    One feature request: running multiple tests by selecting them in the outline view, perhaps in the editor as well :)

  4. Vasanth says:

    Well I did not develop the plugin so the feature requests must go to the sourceforge page.

Ads By Google