Does anyone know how to get it going with Cucumber and Webrat? Any
volunteers to update the Wiki page?
http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium
The state it's in right now provides no value, so I'd rather see the
page go than be up there and confuse people.
-Unless someone can help us fix it of course :-)
Aslak
I definitely should at least document my setup. I have Cuke+Selenium
up and running fine.
--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
I had a dig around a few weeks ago, and my conclusion was that there
really isn't anything terribly satisfactory:
* Selenium
* pro + integrates with webrat
* pro + hits real browsers
* con - cumbersome and complex to set up
* con - slow-ass to run
* Celerity
* con - doesn't integrate with webrat (uses the watir API which IMO
is not nearly so nice)
* con - requires you to run your tests under jruby which means if
you want to use domain steps (e.g. Given steps that use models to set
up data) you need to spin up your whole stack under jruby
* pro + fast
* con - not (quite) a real browser
* Culerity
* pro + means you can run your test stack under ruby and still
leverage the speed of celerity
* con - still uses the watir API
* con - didn't seem very reliable
We still write all our JS for Songkick as progressive-enhancements
that we test manually. We occasionally unit-test more complex bits
using (the excellent) blue-ridge but mostly it's just code-n-fix for
the integration testing. Right now there doesn't seem to be a good
enough solution that it would give us sufficient value for the cost of
setting up and maintaining the tests. It's a shame, but that's where
we are right now.
cheers,
Matt
On 15.10.09 11.41, Matt Wynne <ma...@mattwynne.net> wrote:
On 15 Oct 2009, at 04:02, wesgarrison wrote:
* Celerity
* con - doesn't integrate with webrat (uses the watir API which IMO
is not nearly so nice)
Someone did a WebRat adapter for Celerity - I think maybe it's this: http://github.com/kamal/webrat. Haven't used that myself though.
Also the WebDriver project (http://code.google.com/p/webdriver/, will become Selenium 2.0) needs some Ruby love. I'm going to GTAC (http://www.gtac.biz) next week where I hope to get started on that (and likely wrap the result in the Watir API as well eventually, but that's primarily because I personally like it and my company is heavily invested in it). If anyone is interested in contributing to that, Simon Stewart and I have a wave going with some discussion (or we can take it off-Wave).
Jari
>
>
>
>
> On 15.10.09 11.41, Matt Wynne <ma...@mattwynne.net> wrote:
>
>
>
>
> On 15 Oct 2009, at 04:02, wesgarrison wrote:
>
>
> * Celerity
> * con - doesn't integrate with webrat (uses the watir API which IMO
> is not nearly so nice)
>
> Someone did a WebRat adapter for Celerity - I think maybe it's this: http://github.com/kamal/webrat
> . Haven't used that myself though.
I had a look at this and it seemed to be half-finished. That might be
unfair though - is anyone using it?