Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP plugin dependencies
TPTP plugin dependencies [message #77579] Mon, 17 July 2006 16:52 Go to next message
Michael is currently offline MichaelFriend
Messages: 40
Registered: July 2009
Member
Hi all,

I created a minimal RCP app with the default wizard. After adding TPTP
JUnit Plug-in Test (incl. "Workbench Location" & "Deployment") i have to
use 92 plugins. Some of them make UI contributions (Search menu & Run
menu) which I do not want. Disabling any of those plugins makes the RCP
stop working. Is there any chance to use TPTP without any UI contributions?

Michael
Re: TPTP plugin dependencies [message #77622 is a reply to message #77579] Tue, 18 July 2006 11:19 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Michael,
Are you testing your RCP application with TPTP JUnit plugin tests or do
you want to package the TPTP test tools with your RCP application?

Paul
"michael" <tigerface@gmx.de> wrote in message
news:pan.2006.07.17.16.52.10.355613@gmx.de...
> Hi all,
>
> I created a minimal RCP app with the default wizard. After adding TPTP
> JUnit Plug-in Test (incl. "Workbench Location" & "Deployment") i have to
> use 92 plugins. Some of them make UI contributions (Search menu & Run
> menu) which I do not want. Disabling any of those plugins makes the RCP
> stop working. Is there any chance to use TPTP without any UI
contributions?
>
> Michael
Re: TPTP plugin dependencies [message #77651 is a reply to message #77622] Tue, 18 July 2006 15:00 Go to previous messageGo to next message
Michael is currently offline MichaelFriend
Messages: 40
Registered: July 2009
Member
Hi Paul,

thanks for your fast answer. I want to test my RCP application. Currently
I am not sure if maybe TPTP JUnit test is enough or if I have to use TPTP
JUnit plugin test. Could you tell me what's the major difference between
those?

Do you know when junit 4 testing will be fully supported?

Michael

On Tue, 18 Jul 2006 07:19:48 -0400, Paul Slauenwhite wrote:

> Hi Michael,
> Are you testing your RCP application with TPTP JUnit plugin tests or do
> you want to package the TPTP test tools with your RCP application?
>
> Paul
> "michael" <tigerface@gmx.de> wrote in message
> news:pan.2006.07.17.16.52.10.355613@gmx.de...
>> Hi all,
>>
>> I created a minimal RCP app with the default wizard. After adding TPTP
>> JUnit Plug-in Test (incl. "Workbench Location" & "Deployment") i have to
>> use 92 plugins. Some of them make UI contributions (Search menu & Run
>> menu) which I do not want. Disabling any of those plugins makes the RCP
>> stop working. Is there any chance to use TPTP without any UI
> contributions?
>>
>> Michael
Re: TPTP plugin dependencies [message #77839 is a reply to message #77651] Wed, 19 July 2006 12:38 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Michael,
A JUnit test is typically a Java unit test that exercises and verifies a
single or set of method invocations. The test (or test suite) is launched
as a normal Java process and results gathered by a JUnit runner. A JUnit
plug-in test is specific to Eclipse and is used to unit test Eclipse
plugins. When a JUnit Plug-in Test is launched, an Eclipse instance is
created with the plug-in(s) being tested configured in the runtime instance.
Once the Eclipse instance is up, the test runner runs inside the workbench.
After all tests are run, the Eclipse instance closes and exits, terminating
the test run. Both JUnit test types can be ran in Eclipse or TPTP, but TPTP
provides the rich execution environment (e.g. local sand remote execution)
as well as test logs for BIRT integrating reporting.

For your RCP application, I would recommend using TPTP JUnit plugin
tests for your unit testing and eventually move to the Automated GUI
Recorder (AGR) for your automated UI tests when RCP is supported in TPTP
V4.3.0 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=114159)

As for JUnit 4, we do not support yet but please feel free to add
yourself to the enhancement's cc list:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=151071

Paul
"michael" <tigerface@gmx.de> wrote in message
news:pan.2006.07.18.15.00.09.637923@gmx.de...
> Hi Paul,
>
> thanks for your fast answer. I want to test my RCP application. Currently
> I am not sure if maybe TPTP JUnit test is enough or if I have to use TPTP
> JUnit plugin test. Could you tell me what's the major difference between
> those?
>
> Do you know when junit 4 testing will be fully supported?
>
> Michael
>
> On Tue, 18 Jul 2006 07:19:48 -0400, Paul Slauenwhite wrote:
>
> > Hi Michael,
> > Are you testing your RCP application with TPTP JUnit plugin tests or
do
> > you want to package the TPTP test tools with your RCP application?
> >
> > Paul
> > "michael" <tigerface@gmx.de> wrote in message
> > news:pan.2006.07.17.16.52.10.355613@gmx.de...
> >> Hi all,
> >>
> >> I created a minimal RCP app with the default wizard. After adding TPTP
> >> JUnit Plug-in Test (incl. "Workbench Location" & "Deployment") i have
to
> >> use 92 plugins. Some of them make UI contributions (Search menu & Run
> >> menu) which I do not want. Disabling any of those plugins makes the RCP
> >> stop working. Is there any chance to use TPTP without any UI
> > contributions?
> >>
> >> Michael
>
Re: TPTP plugin dependencies [message #77990 is a reply to message #77839] Thu, 20 July 2006 12:17 Go to previous messageGo to next message
Michael is currently offline MichaelFriend
Messages: 40
Registered: July 2009
Member
Hi Paul,

thank you for the detailed answer. That helps much. Do you know any
solution to those UI contributions mentioned earlier (run and search menu)?

Michael
Re: TPTP plugin dependencies [message #81957 is a reply to message #77990] Tue, 29 August 2006 11:47 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Michael,
Apologies for the late reply.

Due to the packaging/dependency chain of the TPTP Test plug-ins,
projects/plug-ins containing TPTP JUnit or TPTP JUnit plug-in tests must
require the plug-ins that make these UI contributions. Since RCP unit
testing is a valid scenario, please open an enhancement to support RCP unit
testing using TPTP.

Paul
"michael" <tigerface@gmx.de> wrote in message
news:pan.2006.07.20.12.17.51.284560@gmx.de...
> Hi Paul,
>
> thank you for the detailed answer. That helps much. Do you know any
> solution to those UI contributions mentioned earlier (run and search
> menu)?
>
> Michael
Previous Topic:firefox and tptp
Next Topic:Setting vmargs when profiling applications via Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 09:52:17 GMT 2024

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

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

Back to the top