Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » PDE Junit help
PDE Junit help [message #76157] Tue, 15 July 2003 13:10 Go to next message
Eclipse UserFriend
Has anyone had any success getting PDE JUnit tests to run in an automated
manner as part of a nightly build? We had no problem getting our regular
JUnit test to run in this manner. However, we've been unable to find a
solution for getting the PDE JUnits to run. We've already tried looking at
the code in the org.eclipse.test project but when we try to switch the
application from org.eclipse.test.coretestapplication to
org.eclipse.pde.junit.coretestapplication we keep getting a missing
arguement problem. The app is looking for a port arguement. We've tried
various ports, with no success.

thanks,

Lance Phillips
Re: PDE Junit help [message #76173 is a reply to message #76157] Tue, 15 July 2003 13:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.remove.com

please have a look at what eclipse.org releng team uses in daily builds - it's all available from eclipse.org webstite
(see the sections for each build)

a.
--
eclipse.org
Re: PDE Junit help [message #76188 is a reply to message #76173] Tue, 15 July 2003 13:33 Go to previous messageGo to next message
Eclipse UserFriend
Adam,
I don't see anything in there that is helpful in regard to PDE Junit
tests???? As I mentioned in the original post, we are not having any
difficulty with our rgular JUnit tests, but we can't get the PDE JUnits to
run. Am I missing something in your examples?

thanks,

lp

"Adam Kiezun" <adam_kiezun@ch.ibm.remove.com> wrote in message
news:bf1dcl$68n$1@eclipse.org...
> please have a look at what eclipse.org releng team uses in daily builds -
it's all available from eclipse.org webstite
> (see the sections for each build)
>
> a.
> --
> eclipse.org
>
>
Re: PDE Junit help [message #76204 is a reply to message #76188] Tue, 15 July 2003 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Lance Phillips wrote:
> Adam,
> I don't see anything in there that is helpful in regard to PDE Junit
> tests???? As I mentioned in the original post, we are not having any
> difficulty with our rgular JUnit tests, but we can't get the PDE JUnits to
> run. Am I missing something in your examples?

Each build download page contains a section called "JUnit Plugin Tests
and Automated Testing Framework" with the description: "This drop
contains the JUnit Eclipse test plugins and the Automated Testing
Framework used to run the tests from the command line."

Jeff
Re: PDE Junit help [message #76253 is a reply to message #76204] Tue, 15 July 2003 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Jeff,
Please re-read my posts!!! I am NOT having ANY trouble automating JUnit
test cases. I can not automate PDE Junit test cases. Please see the PDE
Junit plugin if that is not clear. I have followed the path you mention in
great detail and can not get a PDE JUnit test to execute in this manner.

thanks,

lp

"Jeff Hunter" <jxh106@po.cwru.edu> wrote in message
news:bf1gcl$9jg$1@eclipse.org...
> Lance Phillips wrote:
> > Adam,
> > I don't see anything in there that is helpful in regard to PDE Junit
> > tests???? As I mentioned in the original post, we are not having any
> > difficulty with our rgular JUnit tests, but we can't get the PDE JUnits
to
> > run. Am I missing something in your examples?
>
> Each build download page contains a section called "JUnit Plugin Tests
> and Automated Testing Framework" with the description: "This drop
> contains the JUnit Eclipse test plugins and the Automated Testing
> Framework used to run the tests from the command line."
>
> Jeff
>
Re: PDE Junit help [message #76285 is a reply to message #76253] Tue, 15 July 2003 14:58 Go to previous messageGo to next message
Eclipse UserFriend
Lance Phillips wrote:
> Jeff,
> Please re-read my posts!!! I am NOT having ANY trouble automating JUnit
> test cases. I can not automate PDE Junit test cases. Please see the PDE
> Junit plugin if that is not clear. I have followed the path you mention in
> great detail and can not get a PDE JUnit test to execute in this manner.

I know what PDE JUnit is. I have used it. Adam and I have pointed you to
the mechanism that the Eclipse release engineering team uses to run test
cases which reside in a plugin. I am sorry that I cannot help any more
than that.

Jeff
Re: PDE Junit help [message #76556 is a reply to message #76253] Wed, 16 July 2003 04:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Lance Phillips wrote:

>Jeff,
> Please re-read my posts!!! I am NOT having ANY trouble automating JUnit
>test cases. I can not automate PDE Junit test cases. Please see the PDE
>Junit plugin if that is not clear. I have followed the path you mention in
>great detail and can not get a PDE JUnit test to execute in this manner.
>
I suggest you follow the pointers and study how and what kind of tests
releng performs and think about what PDE JUnit actually does. You will
then learn that the pointers really are your friend ;-)

Dani
Re: PDE Junit help [message #77154 is a reply to message #76285] Thu, 17 July 2003 10:49 Go to previous message
Eclipse UserFriend
Perhaps my problem is in the type of PDE I'm trying to run??? I've been
trying to get UI testes to run with no luck.... when I tried your example
for core tests it works fine. Any ideas on what I could be missing to get
the ui tests working? Here is the BuiltTests target from my test.xml. When
I run this, none of the tests are executed and the result xml file shows no
tests. If I run the AutomatedUITestSuite in Eclipse as ui-test PDE Junit it
executes perfectly.

thanks,

lp
<target name="BuildTests" depends="init,cleanup">

<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">

<property name="data-dir" value="${location}"/>

<property name="plugin-name" value="test.metamatrix.modeler.ui"/>

<property name="classname"
value="com.metamatrix.modeler.ui.AutomatedUITestSuite"/>

</ant>

</target>

"Jeff Hunter" <jxh106@po.cwru.edu> wrote in message
news:bf1isq$c8b$1@eclipse.org...
> Lance Phillips wrote:
> > Jeff,
> > Please re-read my posts!!! I am NOT having ANY trouble automating
JUnit
> > test cases. I can not automate PDE Junit test cases. Please see the
PDE
> > Junit plugin if that is not clear. I have followed the path you mention
in
> > great detail and can not get a PDE JUnit test to execute in this manner.
>
> I know what PDE JUnit is. I have used it. Adam and I have pointed you to
> the mechanism that the Eclipse release engineering team uses to run test
> cases which reside in a plugin. I am sorry that I cannot help any more
> than that.
>
> Jeff
>
Previous Topic:Help! How do I give more memory to Eclipse?
Next Topic:Including autogenerated directories/classes in buildpath?
Goto Forum:
  


Current Time: Sat May 10 07:17:26 EDT 2025

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

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

Back to the top