Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » [headless junit] pde junit support
[headless junit] pde junit support [message #495257] Wed, 04 November 2009 11:59 Go to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi there,

when trying to execute my launch configuration using headless buckminster junit command, I get the following message:

junit '-l' '/my.plugin.folder/AllTests.launch'
Doing full workspace refresh
Waiting for jobs to end

Required plug-in 'org.eclipse.pde.junit.runtime' could not be found.

Does that mean JUnit Plugin Tests are not supported?
If so, are there already any tangible plans for that?

Regards,
Joerg

Re: [headless junit] pde junit support [message #495278 is a reply to message #495257] Wed, 04 November 2009 13:25 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi,

just wanted to also mention, that standard JUnit test cases are executed successfully:

...
junit '-l' '/my.plugin.folder/Dummy4.launch'
INFO:  Starting test session Dummy4
INFO:  Running test com.dummy.Dummy4.bla...
INFO:    ...OK [0,016s]
INFO:  Tests finished.
INFO:  Elapsed time: 0,016 seconds.
INFO:  Total number of tests executed: 2
INFO:  Successful tests: 1
INFO:  Failed tests: 1
INFO:  Errors: 0
...
Doing full workspace refresh
Waiting for jobs to end


Cannot find the results report, though. (Expected an xml file somewhere.)

Regards,
Joerg

Re: [headless junit] pde junit support [message #495281 is a reply to message #495257] Wed, 04 November 2009 13:32 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi,

Quote:
Does that mean JUnit Plugin Tests are not supported?
If so, are there already any tangible plans for that?

Are you able to give rough estimates as to what steps would be necessary - and how many 6 hour days it would take - to realize this?

Regards,
Joerg

[Updated on: Wed, 04 November 2009 13:33]

Report message to a moderator

Re: [headless junit] pde junit support [message #495322 is a reply to message #495281] Wed, 04 November 2009 15:09 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi again,

Quote:
Quote:
Does that mean JUnit Plugin Tests are not supported?
If so, are there already any tangible plans for that?

Are you able to give rough estimates as to what steps would be necessary - and how many 6 hour days it would take - to realize this?


Hmm, seems to be a lot more complicated than I imagined when I asked those questions - see also this message and follow-ups:
http://dev.eclipse.org/mhonarc/lists/buckminster-dev/msg0075 8.html

Regards,
Joerg

Re: [headless junit] pde junit support [message #495342 is a reply to message #495322] Wed, 04 November 2009 15:41 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Joerg,

this should actually work already, but you will need Helios M2 for this
because this feature required changes to PDE/JDT that are not available
in the Galileo release.

See this for details:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243293

Hope that helps and best regards,
Johannes
Re: [headless junit] pde junit support [message #496097 is a reply to message #495257] Sun, 08 November 2009 16:14 Go to previous messageGo to next message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Hi Joerg,

Launching JUnit plug-in tests is fully supported. That said, the PDE team
may have introduced this new org.eclipse.pde.junit.runtime bundle that I
haven't seen before. I'll look into this. Maybe all we need to do is include
this bundle in our Buckminster headless feature and PDE JUnit launching will
work again.

Cheers,
Achim

Joerg Buchberger wrote:

> Hi there,
>
> when trying to execute my launch configuration using headless buckminster
> junit command, I get the following message:
>
> junit '-l' '/my.plugin.folder/AllTests.launch'
> Doing full workspace refresh
> Waiting for jobs to end
> Required plug-in 'org.eclipse.pde.junit.runtime' could not be found.
> Does that mean JUnit Plugin Tests are not supported?
> If so, are there already any tangible plans for that?
>
> Regards,
> Joerg
Re: [headless junit] pde junit support [message #496204 is a reply to message #495342] Mon, 09 November 2009 10:50 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi.

Sorry. Forgot to mention, what version I'm using.
I installed buckminster like this:

director -r http://download.eclipse.org/tools/buckminster/headless-3.6 -d /path/to/buckminster/directory -p Buckminster -i org.eclipse.buckminster.cmdline.product
Installing org.eclipse.buckminster.cmdline.product 1.1.350.r10874.
Operation completed in 177609 ms.

buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.core.headless.feature
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.pde.headless.feature
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.cvs.headless.feature
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.maven.headless.feature
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.equinox.p2.director.feature
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.product
buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6 org.eclipse.buckminster.psf.feature
buckminster install http://download.cloudsmith.com/buckminster/external org.eclipse.buckminster.subclipse.headless.feature


Regards.
Joerg

[Updated on: Mon, 09 November 2009 13:03]

Report message to a moderator

Re: [headless junit] pde junit support [message #496206 is a reply to message #496097] Mon, 09 November 2009 10:56 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi Achim.

Thanks for checking!
Please let me know, if/when/how I should retry.

Regards,
Joerg



Achim Demelt wrote on Sun, 08 November 2009 11:14
Hi Joerg,

Launching JUnit plug-in tests is fully supported. That said, the PDE team
may have introduced this new org.eclipse.pde.junit.runtime bundle that I
haven't seen before. I'll look into this. Maybe all we need to do is include
this bundle in our Buckminster headless feature and PDE JUnit launching will
work again.

Re: [headless junit] pde junit support [message #496817 is a reply to message #496097] Wed, 11 November 2009 13:37 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi all.

Since we are under a little time pressure, we now also tried to make use of a new project hosted at google. It's called headlesseclipse: http://code.google.com/p/headlesseclipse/

With the support of the project owners, we currently try to extend that plugin to support JUnit Plugin Test run configurations to get launched. We are now at a point, we didn't reach yet with neither buckminster nor automated test framework. Our plugin test suites actually run headlessly!

Nevertheless, I'm eager to give headless buckminster another try as soon as Achim confirms his assumption+fix:

Achim Demelt wrote on Sun, 08 November 2009 11:14
Hi Joerg,

Launching JUnit plug-in tests is fully supported. That said, the PDE team
may have introduced this new org.eclipse.pde.junit.runtime bundle that I
haven't seen before. I'll look into this. Maybe all we need to do is include
this bundle in our Buckminster headless feature and PDE JUnit launching will
work again.


Happy coding!
--Joerg
icon5.gif  [headless junit] pde junit support [UPDATE] [message #498556 is a reply to message #496817] Tue, 17 November 2009 13:42 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Hi there.

Reinstalling buckminster headless 3.6 gives me version r10881 - but unfortunately, the junit command error (see below) remains also with this update.

Regards.
Joerg


Joerg Buchberger wrote on Wed, 11 November 2009 08:37
Hi all.

Since we are under a little time pressure, we now also tried to make use of a new project hosted at google. It's called headlesseclipse: http://code.google.com/p/headlesseclipse/

With the support of the project owners, we currently try to extend that plugin to support JUnit Plugin Test run configurations to get launched. We are now at a point, we didn't reach yet with neither buckminster nor automated test framework. Our plugin test suites actually run headlessly!

Nevertheless, I'm eager to give headless buckminster another try as soon as Achim confirms his assumption+fix:

Achim Demelt wrote on Sun, 08 November 2009 11:14
Hi Joerg,

Launching JUnit plug-in tests is fully supported. That said, the PDE team
may have introduced this new org.eclipse.pde.junit.runtime bundle that I
haven't seen before. I'll look into this. Maybe all we need to do is include
this bundle in our Buckminster headless feature and PDE JUnit launching will
work again.

Joerg Buchberger wrote on Wed, 04 November 2009 06:59
when trying to execute my launch configuration using headless buckminster junit command, I get the following message:
junit '-l' '/my.plugin.folder/AllTests.launch'
Doing full workspace refresh
Waiting for jobs to end
Required plug-in 'org.eclipse.pde.junit.runtime' could not be found.



Re: [headless junit] pde junit support [UPDATE] [message #498909 is a reply to message #498556] Thu, 19 November 2009 07:41 Go to previous messageGo to next message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Hi Jörg,

I added the missing bundle to the pde.headless feature. A new build is now available. Could you please give it another try and see if there are any more problems? If so, please file a bug so that we can track this problem better.

Thanks,
Achim
Re: [headless junit] pde junit support [UPDATE] [message #499473 is a reply to message #498909] Sun, 22 November 2009 21:44 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Achim Demelt wrote on Thu, 19 November 2009 02:41
I added the missing bundle to the pde.headless feature. A new build is now available. Could you please give it another try and see if there are any more problems? If so, please file a bug so that we can track this problem better.

Thank you, Achim.
I'll update and retry tomorrow.
Cheers.
Joerg
icon14.gif  Re: [headless junit] pde junit support [SOLVED] [message #499543 is a reply to message #499473] Mon, 23 November 2009 10:21 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg BuchbergerFriend
Messages: 46
Registered: July 2009
Member
Joerg Buchberger wrote on Sun, 22 November 2009 16:44
Achim Demelt wrote on Thu, 19 November 2009 02:41
I added the missing bundle to the pde.headless feature. A new build is now available. Could you please give it another try and see if there are any more problems? If so, please file a bug so that we can track this problem better.

Thank you, Achim.
I'll update and retry tomorrow.
Cheers.
Joerg


Thanks, Achim - plugin tests now are running!
INFO:  Tests finished.
INFO:  Total number of tests executed: 1365
INFO:  Successful tests: 1225
INFO:  Failed tests: 31
INFO:  Errors: 109
INFO:  Ignored tests: 0
INFO:  Overall status: Error
Doing full workspace refresh
Waiting for jobs to end


Cheers,
Joerg
Re: [headless junit] pde junit support [SOLVED] [message #500042 is a reply to message #499543] Tue, 24 November 2009 18:58 Go to previous message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Jorg,

Great, thanks for your patience!

Achim

Joerg Buchberger wrote:

> Joerg Buchberger wrote on Sun, 22 November 2009 16:44
>> Achim Demelt wrote on Thu, 19 November 2009 02:41
>> > I added the missing bundle to the pde.headless feature. A new build is
>> > now available. Could you please give it another try and see if there
>> > are any more problems? If so, please file a bug so that we can track
>> > this problem better.
>>
>> Thank you, Achim.
>> I'll update and retry tomorrow.
>> Cheers.
>> Joerg
>
>
> Thanks, Achim - plugin tests now are running!
> INFO: Tests finished.
> INFO: Total number of tests executed: 1365
> INFO: Successful tests: 1225
> INFO: Failed tests: 31
> INFO: Errors: 109
> INFO: Ignored tests: 0
> INFO: Overall status: Error
> Doing full workspace refresh
> Waiting for jobs to end
>
> Cheers,
> Joerg
Previous Topic:Without using an mspec, how do I materialize an osgi.bundle without binding it to my workspace
Next Topic:Getting subprojects into workspace (Do I need to use generators?)
Goto Forum:
  


Current Time: Sat Apr 27 00:34:07 GMT 2024

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

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

Back to the top