FAQ suggestion re testing installed products [message #654786] |
Thu, 17 February 2011 07:46 |
Geoff Bache Messages: 33 Registered: October 2010 |
Member |
|
|
Hi again all,
I'm looking again at the suggestions under
http://wiki.eclipse.org/SWTBot/FAQ#Can_I_test_an_exported_ec lipse_product
which Mickael Istria changed after my suggestions back in October. A couple more things now I'm a bit more experienced here:
1) The sample command seems to contain a typo, it says
-installIU org.eclipse.swtbot.eclipse,get.feature.group,org.eclipse.swt bot.eclipse.test.junit4.feature.group \
An extra ",get" seems to have crept in in the middle somehow.
2) Possibly some explanation of the various IUs should be offered. I question whether "org.eclipse.swtbot.eclipse.feature.group" should be the default suggestion: installing this will (I guess) be overkill for most users who only need an appropriate SWTBot finder plugin to be present for their tests to work.
That particular IU sucks in a lot of different stuff: a couple of effects of this are
a) It takes about 4 times as long to install (20 seconds versus 5 seconds) - a pain if you do it frequently.
b) Because it brings in org.eclipse.ui.ide, various additional menu items ("Convert Line Delimiters To" etc) get added. While this isn't a problem if all you want to do is run headless tests, it can be a bit disturbing if you want to use it for anything else, or, like me, you've built a recorder on top of SWTBot and want users to be able to record tests without lots of spurious extra menu items in the way
Regards,
Geoff Bache
|
|
|
Re: FAQ suggestion re testing installed products [message #654948 is a reply to message #654786] |
Thu, 17 February 2011 17:13 |
|
Hi,
I agree with your 2 points, and I think there is a bundle or a feature in SWTBot that you can use for headless testing that does not contains UI stuff and dependency to org.eclipse.ui.ide.
As you said, you're now "a bit more experienced", then feel free to directly edit the wiki page to improve it according to your experience and knowledge ;) The wiki is made for it!
Thanks for this contribution.
Le 17/02/2011 08:46, Geoff Bache a écrit :
> Hi again all,
>
> I'm looking again at the suggestions under
>
> http://wiki.eclipse.org/SWTBot/FAQ#Can_I_test_an_exported_ec lipse_product
>
> which Mickael Istria changed after my suggestions back in October. A couple more things now I'm a bit more experienced here:
>
> 1) The sample command seems to contain a typo, it says
> -installIU org.eclipse.swtbot.eclipse,get.feature.group,org.eclipse.swt bot.eclipse.test.junit4.feature.group \
>
> An extra ",get" seems to have crept in in the middle somehow.
>
> 2) Possibly some explanation of the various IUs should be offered. I question whether "org.eclipse.swtbot.eclipse.feature.group" should be the default suggestion: installing this will (I guess) be overkill for most users who only need an appropriate SWTBot finder plugin to be present for their tests to work.
>
> That particular IU sucks in a lot of different stuff: a couple of effects of this are a) It takes about 4 times as long to install (20 seconds versus 5 seconds) - a pain if you do it frequently.
>
> b) Because it brings in org.eclipse.ui.ide, various additional menu items ("Convert Line Delimiters To" etc) get added. While this isn't a problem if all you want to do is run headless tests, it can be a bit disturbing if you want to use it for anything else, or, like me, you've built a recorder on top of SWTBot and want users to be able to record tests without lots of spurious extra menu items in the way :)
>
> Regards,
> Geoff Bache
>
--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/BPM_download.php
|
|
|
|
Powered by
FUDForum. Page generated in 0.03050 seconds