Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot with Cucumber
SWTBot with Cucumber [message #957667] Thu, 25 October 2012 07:58 Go to next message
Elad Sofer is currently offline Elad Sofer
Messages: 1
Registered: October 2012
Junior Member
I am (for the first time) building an RCP app, and for a while now i have been doing BDD using cucumber.

From what i could understand, there is a need to put the tests in a new plugin and define a special test launcher in order to run SWTBot test, which i am not really sure how to do with cucumber since so far i only run the tests either from command line\maven or by using the JUnit extension which allows running Cucumber features using the JUnit runner.

After searching for a while, I could find references about the fact that SWTBot working with cucumber but could not find any tutorial or example. There is one dead link in the SWTBot wiki.

if SWTBot does work with cucumber, Could someone refer me to any tutorial or example?

Thanks,
Elad.
Re: SWTBot with Cucumber [message #963777 is a reply to message #957667] Mon, 29 October 2012 23:02 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
I'd blogged about this a long time ago. My blog has since been offline, but I managed to get this out for you:

https://docs.google.com/open?id=0B3BcimDCOkXoaVN6XzAtZTNIQ0k


The cucumber plugin that the blog references is available here: https://docs.google.com/open?id=0B3BcimDCOkXoS2ZVeVFSYzFtelU. You will need to click file>download to download this onto your computer.


This may not work out-of-the-box so you may need to tweak the cucumber or jruby plugin.
Re: SWTBot with Cucumber [message #981323 is a reply to message #957667] Mon, 12 November 2012 05:21 Go to previous message
Mickael Istria is currently offline Mickael Istria
Messages: 735
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi Elad,

I hope you'll be able to make progress on this topic thanks to Ketan help.
If this is working for you, please provide some feedback on this forum,
or in a blog post or in SWTBot wiki. I'd be happy to help you in making
your work part of SWTBot wiki if you need to.

So please come back to this post as soon as you've things to share ;)
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Previous Topic:Running tests unattended
Next Topic:Eclipse 4.2 support
Goto Forum:
  


Current Time: Thu Jul 10 10:13:04 EDT 2014

Powered by FUDForum. Page generated in 0.02982 seconds