SWTBot & EEF generated Forms [message #909720] |
Fri, 07 September 2012 16:38 |
Eclipse User |
|
|
|
I am developing an EEF editor and thought it would be very useful to start using SWTBot to perform testing.
I was stuck on how to find the ReferencesTables in the UI. Since ReferencesTables is not a widget, I couldn't use widgetOfType(ReferencesTable.class) but did discover I can use ChildrenControlFinder on the Table of the ReferencesTables and find the desired table via the org.eclipse.emf.eef.widget.id property on the data.
However, while I was researching this topic I found javadoc on SWTEEFBot and SWTEEFBotHelper, which seems useful, but can't find where the code is stashed. Any pointers to the SWTEEFBot/Helper code and other SWTBot hints for EEF?
Thank you
[Updated on: Fri, 07 September 2012 16:38] by Moderator Report message to a moderator
|
|
|
|
Re: SWTBot & EEF generated Forms [message #910713 is a reply to message #909720] |
Mon, 10 September 2012 09:00 |
Goulwen Le Fur Messages: 125 Registered: July 2009 |
Senior Member |
|
|
Hi,
The two classes which you are referring are part of an old testing
framework for EEF. We are currently developing a brand new framework for
EEF tests. You can find this work on a contributor branch here :
https://github.com/AxelRICHARD/eef/
The test framework is in the modelingBot plugin (model, edit, editor)
and you have tests samples in the eef NR plugins available here :
https://github.com/AxelRICHARD/eef/tree/master/tests/org.eclipse.emf.examples.eef.tests.junit/src/org/eclipse/emf/samples/tests/junit/modelingbot
The idea of this framework is to design a test scenario with a dedicated
EMF model and to run it with modelingBot.
I plan to released this work in the next EEF version. But you can try it
and give us feedback before :)
Regards,
--
Goulwen
Le 07/09/2012 18:38, John Palof a écrit :
> I am developing an EEF editor and thought it would be very useful to
> start using SWTBot to perform testing.
>
> I was stuck on how to find the ReferencesTables in the UI. Since
> ReferencesTables is not a widget, I couldn't use
> widgetOfType(ReferencesTable.class) but did discover I can use
> ChildrenControlFinder on the Table of the ReferencesTables and find the
> desired table via the org.eclipse.emf.eef.widget.id property on the data.
>
> However, while I was researching this topic I found javadoc on SWTEEFBot
> and SWTEEFBotHelper, which seems useful, but can't find where the code
> is stashed. Any pointers to the SWTEEFBot/Helper code and other SWTBot
> hints for EEF?
>
> Thank you
|
|
|
Powered by
FUDForum. Page generated in 0.04670 seconds