Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Why does Junit Plugin Test launch a workspace?(Workspace is launched when executing Junit plugin test)
Why does Junit Plugin Test launch a workspace? [message #531973] Thu, 06 May 2010 16:07 Go to next message
Tom Missing name is currently offline Tom Missing nameFriend
Messages: 16
Registered: February 2010
Junior Member
I'm using Eclipse 3.5x and I'm executing a JUnit Plugin Test using Junit4. I'm testing plugin projects with no UI and I've deselected the Run in UI Thread. Each time I execute the test a new workspace is launched for the duration of the test.

Is this just the way it works or is there a way to have it not launch the new workspace?

Thanks,
T
Re: Why does Junit Plugin Test launch a workspace? [message #532003 is a reply to message #531973] Thu, 06 May 2010 17:52 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Tom wrote:
> I'm using Eclipse 3.5x and I'm executing a JUnit Plugin Test using
> Junit4. I'm testing plugin projects with no UI and I've deselected the
> Run in UI Thread. Each time I execute the test a new workspace is
> launched for the duration of the test.
> Is this just the way it works or is there a way to have it not launch
> the new workspace?

Workspace (just your file system), or you mean workbench (what you need
to get a workbench window)? On the Main tab in your Junit launch
config, what happens if you select Run an Application and then pick [No
Application] - Headless mode?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Problem with Progress View (when Running Jobs)
Next Topic:eclipse v3.4 API to Get List of Installed features
Goto Forum:
  


Current Time: Thu Apr 25 08:01:34 GMT 2024

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

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

Back to the top