Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » invoking Junits from a menu (so anyone can run the tests)
invoking Junits from a menu (so anyone can run the tests) [message #220149] Tue, 06 December 2005 12:04
Eclipse UserFriend
Originally posted by: PlanetTen.comcast.net

I have a Junit plugin and I have created menu item(s) that I want to use
to invoke various junit tests defined in this plugin. The use case is:

Tester installs application with the tests plugin. Starts the
application, and the menu gets a tests menu item, which has various
tests that can be ran. choosinig a particular test, executes the
junit(s), bringing the junit view up to show progress as the test is
executed.

Currently, the only way I have been able to do anything like this is to
execute

TestRunner.run(ASubSuiteOfTests());

as a result of clicking a menu item.

TestRunner, however, is a console based junit runner, so the output is
to console, not exactly the nicest thing for the user doing tests...

So what I'm looking for is a way to run my junit choices(s) from the
menu and have the junit view opened with the progress of the tests being
executed in it. Is there a way to do this?

Thanks in advance.
Previous Topic:how to identify an event triggered by a change to an annotation?
Next Topic:Interleaving problem in ast visitor
Goto Forum:
  


Current Time: Thu Sep 18 17:11:07 EDT 2025

Powered by FUDForum. Page generated in 0.02883 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top