Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Testing Plugin
Testing Plugin [message #85374] Mon, 16 October 2006 18:45 Go to next message
Eclipse UserFriend
I'm trying to test one of our plugins and asked about automated testing
a while back... it wasnt ready then. I would like to at least be able
to test the plugin running inside the eclipse ide, so I started working
on it again. It seems like it should be able to launch my application
because you can specify the context from a location file (or specify it
from the test suite's overview menu by unchecking the "use current
workbench as context"). However, it wont launch the specified
application, instead bringing up the the eclipse ide, when the record
button is pressed. Do you have any ideas about how I can launch my
plugin instead of eclipse for testing?


Thanks
Mahesh
Re: Testing Plugin [message #85463 is a reply to message #85374] Tue, 17 October 2006 11:01 Go to previous messageGo to next message
Eclipse UserFriend
If your plug-in resides in an Eclipse IDE, then you can test it as long as
it is installed under the context being used to playback the test case. The
plug-in can't be tested if it is an RCP application.

Thanks,
Ali Mehregani

"Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
news:eh1235$e2h$1@utils.eclipse.org...
> I'm trying to test one of our plugins and asked about automated testing a
> while back... it wasnt ready then. I would like to at least be able to
> test the plugin running inside the eclipse ide, so I started working on it
> again. It seems like it should be able to launch my application because
> you can specify the context from a location file (or specify it from the
> test suite's overview menu by unchecking the "use current workbench as
> context"). However, it wont launch the specified application, instead
> bringing up the the eclipse ide, when the record button is pressed. Do
> you have any ideas about how I can launch my plugin instead of eclipse for
> testing?
>
>
> Thanks
> Mahesh
Re: Testing Plugin [message #85491 is a reply to message #85463] Tue, 17 October 2006 19:23 Go to previous messageGo to next message
Eclipse UserFriend
It is an eclipse application consisting of a bunch of our plugins. I
dont mind running it from inside Eclipse as a plugin instead of as an
application by copying all our plugins into an Eclipse installation.
The problem I have is its not working that way... instead of using my
perspective, it brings up eclipse.

Thanks for your answer
Mahesh

Ali Mehregani wrote:
> If your plug-in resides in an Eclipse IDE, then you can test it as long as
> it is installed under the context being used to playback the test case. The
> plug-in can't be tested if it is an RCP application.
>
> Thanks,
> Ali Mehregani
>
> "Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
> news:eh1235$e2h$1@utils.eclipse.org...
>> I'm trying to test one of our plugins and asked about automated testing a
>> while back... it wasnt ready then. I would like to at least be able to
>> test the plugin running inside the eclipse ide, so I started working on it
>> again. It seems like it should be able to launch my application because
>> you can specify the context from a location file (or specify it from the
>> test suite's overview menu by unchecking the "use current workbench as
>> context"). However, it wont launch the specified application, instead
>> bringing up the the eclipse ide, when the record button is pressed. Do
>> you have any ideas about how I can launch my plugin instead of eclipse for
>> testing?
>>
>>
>> Thanks
>> Mahesh
>
>
Re: Testing Plugin [message #85597 is a reply to message #85491] Thu, 19 October 2006 11:01 Go to previous message
Eclipse UserFriend
As part of recording a test case the user is required to specify a starting
point, which is simply a perspective that will be used to run the test case
in. Are you saying that you're selecting a desired perspective for your
starting point that is not showing up when you launch your test suite in
standard mode?

In standard mode, the test runner launches an Eclipse workbench which will
switch to the starting point (i.e. perspective) of a test case and run the
test case under that environment. I'm confused by your statement: "instead
of using my perspective, it brings up eclipse"
A second Eclipse workbench is always launched in standard mode. The
perspective used really depends on the starting point of the test case that
is contained in the test suite being launched.

Have you had a chance to review the user guide available online?:
http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-2-0.html


"Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
news:eh3omc$9r0$1@utils.eclipse.org...
> It is an eclipse application consisting of a bunch of our plugins. I dont
> mind running it from inside Eclipse as a plugin instead of as an
> application by copying all our plugins into an Eclipse installation. The
> problem I have is its not working that way... instead of using my
> perspective, it brings up eclipse.
>
> Thanks for your answer
> Mahesh
>
> Ali Mehregani wrote:
>> If your plug-in resides in an Eclipse IDE, then you can test it as long
>> as it is installed under the context being used to playback the test
>> case. The plug-in can't be tested if it is an RCP application.
>>
>> Thanks,
>> Ali Mehregani
>>
>> "Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
>> news:eh1235$e2h$1@utils.eclipse.org...
>>> I'm trying to test one of our plugins and asked about automated testing
>>> a while back... it wasnt ready then. I would like to at least be able
>>> to test the plugin running inside the eclipse ide, so I started working
>>> on it again. It seems like it should be able to launch my application
>>> because you can specify the context from a location file (or specify it
>>> from the test suite's overview menu by unchecking the "use current
>>> workbench as context"). However, it wont launch the specified
>>> application, instead bringing up the the eclipse ide, when the record
>>> button is pressed. Do you have any ideas about how I can launch my
>>> plugin instead of eclipse for testing?
>>>
>>>
>>> Thanks
>>> Mahesh
>>
Previous Topic:Can the probekit change the method param,how to ?
Next Topic:Causes for custom rule not appearing???
Goto Forum:
  


Current Time: Sun Jul 13 12:55:23 EDT 2025

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

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

Back to the top