invoking Junits from a menu (so anyone can run the tests) [message #220149] |
Tue, 06 December 2005 12:04 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02883 seconds