Skip to main content



      Home
Home » Eclipse Projects » SWTBot » SWTBot with Cucumber
SWTBot with Cucumber [message #957667] Thu, 25 October 2012 07:58 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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
Re: SWTBot with Cucumber [message #1815279 is a reply to message #981323] Sun, 29 September 2019 05:03 Go to previous message
Eclipse UserFriend
Although this thread is very old and the provided links seems to be dead, I want to refresh it with new information.

I created a project providing an OSGI patch of the cucumber project plus runnable RCP example.
Hope this helps others searching for similar solutions.

Best regards, Heiko
Previous Topic:Validation of SWTBotTreeItem tooltip text
Next Topic:How to press shortcuts containing numpad keys?
Goto Forum:
  


Current Time: Sun May 11 12:16:33 EDT 2025

Powered by FUDForum. Page generated in 0.03634 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top