I’ve been using Screw.Unit for some js testing and like the similarity
to rSpec, but information is pretty scarce on the Web. What I’m trying
to sort out is how to spec a jQuery click handler that submits a form
(basically emulates Rails’ link_to … :method => :post). Any pointers
to MLs, groups, ???.
I’ve been using Screw.Unit for some js testing and like the similarity to
rSpec, but information is pretty scarce on the Web. What I’m trying to sort
out is how to spec a jQuery click handler that submits a form (basically
emulates Rails’ link_to … :method => :post). Any pointers to MLs, groups,
???.
I’d go to the github repo and send the author a message:
Don’t know how far along it is. I haven’t played with it yet.
Scott
It’s worth mentioning this spike I did a while back, using Celerity to
drive the tests. It runs really quickly, but I’m not yet convinced
about the reliability of celerity:
We’re trying to get one of them up at work and we’re currently
adding selenium grid support to webrat. I was thinking of building a
glue plugin on one of these frameworks so that they would just run
as a webrat test via a rake task. Would anyone be interested in
somthing like that if we pluginified it?
Definitely.
My problem with the solutions I’ve seen so far for integrating is
that they don’t work with a build because the assume you are
launching the browser on the build machine. Grid support removes
that requirement / dependency and allows us to run on any grid
supported browser. It’s actually a very nice setup for build
machines once you get it working.
Ditto, plus I also would like a fast and unobtrusive TDD cycle when
developing, and I don’t feel like selenium is likely to give me that.
If we had a grid set up, would I be able to delegate TDD runs to the
grid from my development machine?
We’re trying to get one of them up at work and we’re currently adding
selenium grid support to webrat. I was thinking of building a glue
plugin on one of these frameworks so that they would just run as a
webrat test via a rake task. Would anyone be interested in somthing like
that if we pluginified it?
My problem with the solutions I’ve seen so far for integrating is that
they don’t work with a build because the assume you are launching the
browser on the build machine. Grid support removes that requirement /
dependency and allows us to run on any grid supported browser. It’s
actually a very nice setup for build machines once you get it working.
-Mike
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.