Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » weird junit testing
weird junit testing [message #654503] Wed, 16 February 2011 04:47 Go to next message
Eclipse UserFriend
Originally posted by: quincy.cs.gmail.com

Maybe I am asking a weird question. Is there a way of starting an instance
of the rcp product then later connecting/running a junit test on the current
status of the product?

If that is complicated, my code right now depends on an active workbench, so
my isolated junit test fails. Maybe there is an easy way to create a mock
platform to run on? I'm not attempting to test any gui for now.

Thanks for advice,
Quincy Mitchell
Re: weird junit testing [message #654527 is a reply to message #654503] Wed, 16 February 2011 08:28 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 16.02.2011 05:47, Quincy Mitchell wrote:
> Maybe I am asking a weird question. Is there a way of starting an
> instance of the rcp product then later connecting/running a junit test
> on the current status of the product?
Try Run > Run As > JUnit Plug-in Test.

Dani
>
> If that is complicated, my code right now depends on an active
> workbench, so my isolated junit test fails. Maybe there is an easy
> way to create a mock platform to run on? I'm not attempting to test
> any gui for now.
>
> Thanks for advice,
> Quincy Mitchell
Previous Topic:Menu items added by <dynamic> provider cannot be disabled
Next Topic:cannot make a simple rcp as a product
Goto Forum:
  


Current Time: Thu Apr 18 00:04:06 GMT 2024

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

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

Back to the top