Testing Plugin [message #85374] |
Mon, 16 October 2006 18:45  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03439 seconds