Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311126 - Refactor the test framework so it can test RCP/OSGi applications
Summary: Refactor the test framework so it can test RCP/OSGi applications
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 22:38 EDT by Ian Bull CLA
Modified: 2021-09-17 16:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Bull CLA 2010-04-29 22:38:15 EDT
The Eclipse test framework is pretty cool. You can simply drop (install) the framework into your eclipse install and instantly run plug-in tests via antRunner.  Having this same functionality for RCP would be even better.  For example, we should be able to drop (install) the test framework in an RCP app (simple mail for example) and run both core and UI tests on that app. 

I found two problems when I tried to do this:
1. The test framework depends on the IDE.  If I want to install the framework into my RCP app I need org.eclipse.ui.ide and all of its dependencies.  

2. When you launch UI tests, it always starts the IDE application.  If I just want to test simple mail, I don't want it launching the IDE application.

I think we could refactor the test framework into a core (only equinox dependencies) and UI (RCP dependencies). 

Can anybody think of reasons why this is not doable?  (other time / resources to do it).

I'm filing this in the releng bucket because I have no idea where else to file things for the test framework.
Comment 1 Ian Bull CLA 2010-04-30 00:19:28 EDT
I took a quick look and the RCP side of this looks very easy.  I don't think the dependency on ui.ide is actually needed (I can't see any reason why it's there), and the ability to specify the application to test is already done, it just hasn't been exposed in the ant task.

I'll take a shoot at fixing this up.
Comment 2 Kim Moir CLA 2010-04-30 09:29:08 EDT
Thanks Ian!
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:04:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Eclipse Genie CLA 2021-09-17 16:31:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.