TPTP plugin dependencies [message #77579] |
Mon, 17 July 2006 12:52  |
Eclipse User |
|
|
|
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 08:38   |
Eclipse User |
|
|
|
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 #81957 is a reply to message #77990] |
Tue, 29 August 2006 07:47  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds