Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot with Fitnesse(Running SWTBot tests from Fit Test)
SWTBot with Fitnesse [message #634832] Sun, 24 October 2010 05:10 Go to next message
Leela  is currently offline Leela
Messages: 10
Registered: June 2010
Junior Member
I saw an article on running SWTBot tests from Cucumber and Twist.
Has anyone tried running same from a fit test??? We are using Fitnesse for testing our application. It would be good if we have a way of integrating SWTBot with Fitnesse. So that I can write and run single test on my application and also Eclipse Plugins.

Is there any way to do this?? That helps us in writing consolidated tests for our Application. Your help would be appreciated.

Re: SWTBot with Fitnesse [message #634847 is a reply to message #634832] Sun, 24 October 2010 11:20 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Full disclosure: I've used to be on the team that wrote Twist which you
mention, and wrote most of the swtbot integration.

Based on that experience I can tell you that this integration would not
be possible out of the box.

To begin with you'd need atleast the following:

* make fitnesse launch eclipse with the correct parameters and command
line args
* make eclipse run the fitnesse tests
* make the fitnesse tests run swtbot
* collect test results and declare either failure or pass

Once you have this working, you'd need to do something similar for
headless builds :)

The cucumber spike was a hack put together in a weekend and I do not
have any plans (yet) to make a project out of it.

Your options at this point in time are limited in that you can only do
junit based testing using java.

If you're *really* looking for writing fit style tests I'd suggest
buying a commercial tool like twist, it integrates pretty nicely with
swtbot and other drivers and offers commercial support around all of
these. Plus they also support a dynamic language like groovy which makes
life a lot simpler...

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr

On 10/24/10 2:10 AM, Leela wrote:
> I saw an article on running SWTBot tests from Cucumber and Twist.
> Has anyone tried running same from a fit test??? We are using Fitnesse
> for testing our application. It would be good if we have a way of
> integrating SWTBot with Fitnesse. So that I can write and run single
> test on my application and also Eclipse Plugins.
> Is there any way to do this?? That helps us in writing consolidated
> tests for our Application. Your help would be appreciated.
>
>
Re: SWTBot with Fitnesse [message #634909 is a reply to message #634847] Mon, 25 October 2010 02:10 Go to previous messageGo to next message
Leela  is currently offline Leela
Messages: 10
Registered: June 2010
Junior Member
Hi Ketan,

Thanks for your reply... We are already able to run fit tests from Eclipse using FITPro (http://www.luxoft.com/fit/).

I am not able to get the ideas on making fitnesse running SWTBot tests. Can u suggest some ideas?
Re: SWTBot with Fitnesse [message #635081 is a reply to message #634909] Mon, 25 October 2010 11:12 Go to previous message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
On 10/24/10 11:10 PM, Leela wrote:
> Hi Ketan,
>
> Thanks for your reply... We are already able to run fit tests from
> Eclipse using FITPro (http://www.luxoft.com/fit/).
>
> I am not able to get the ideas on making fitnesse running SWTBot tests.
> Can u suggest some ideas?

So you'd need to write something like SWTBot's .ide plugin to launch
your fit tests<http://goo.gl/aYPn> and then a launcher plugin that is
launched from the IDE<http://goo.gl/xeM7> and another one that is
launched when run headless<http://goo.gl/DRBd>.

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr
Previous Topic:SWTBot Table Cell
Next Topic:Complete view/editor notification/event
Goto Forum:
  


Current Time: Sun Apr 20 09:42:54 EDT 2014

Powered by FUDForum. Page generated in 0.01763 seconds