Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Using junit eclipse plugin test runner upon request (Again)
Using junit eclipse plugin test runner upon request (Again) [message #289936] Mon, 15 August 2005 09:06
Eclipse UserFriend
Originally posted by: joseph_gamal.hotmail.com

Hi all
I sent this mail to "eclipse.tools.jdt" , but no one answer , can any one
here help me??

I want to make a specific task with junit plugin test , but i don't know how
to do it.

All what i want to do , is to launch the workbench , and then interact with
a view i have , and then press a button somewhere (in my view , or may be in
eclipse junit runner view) , and at this point of time junit plugin test
should start running the test suite i have. Is this possible ?

I did the previous task using swing junit runner , but I don't know how to
do this with eclipse runner , or may be there is a better solution.


Here's what i did with swing junit runner:

In the run method of an action I have, I wrote the following code the
following code:
String[] args = { "-noloading", "com.abc.mySuiteClass"};
junit.swingui.TestRunner runner = new junit.swingui.TestRunner();
runner.start(args);
so , when i selected this action , the swing test runner
dialog is launched , and the test suite is tested.

Thanks
Joseph
Previous Topic:About Eclipse Properity
Next Topic:How to delete an MultiPageEditor
Goto Forum:
  


Current Time: Fri Apr 26 09:13:36 GMT 2024

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

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

Back to the top