Great to know that someone is starting off with nebula.

Hans Schwaebli wrote:
> I may have to add SWTBot support for two Nebula widgets soon: 
> DateChooserCombo and FormattedText.
> 
> Currently I am estimating the effort.
> 
> I think two new classes would need to be added: SWTBotDateChooserCombo 
> and SWTBotFormattedText.

That is correct.

> Do you want to add methods in SWTBot class for them? Or a bot class just 
> for Nebula widgets ("SWTNebulaBot")? Do you want a new plugin and test 
> plugin for Nebula? What are your plans and ideas?

SWTBot 2.0 takes a different approach to this problem. It generates, yes 
generates the SWTBot class based on annotations provided on the 
individual widgets.

See the annotations on SWTBotButton and SWTBotCheckBox for examples on 
how these are used.

SWTBotGeneratorMain generates the SWTBot class based on the types 
provided in a widgets.xml file.

> Of course we also need test cases for them. Nebula provides an example 
> plugin, which can be used for these tests. Is it okay to use it?

For the sake of nebula, I'd suggest a separate net.sf.swtbot.nebula and 
a corresponding .test plugin. This would help avoid a nebula dependency 
on the net.sf.swtbot.finder project, and keep the footprint small.

In case you need to write a matcher for a nebula widget, you'll need to 
generate a WidgetMatcherFactory using MatcherGeneratorMain.

-- Ketan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to