OT: Who To Ask About Screw.Unit?

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, ???.

Thanks,

Steve

s.ross’s email about Screw.Unit brought prompted me to ask this
question:

  1. What do you use for Javascript Unit testing?
  2. How do you integrate it with a continuous build such as CCRB? (I’m
    guessing selenium).

-Mike

On Wed, Jan 14, 2009 at 6:39 PM, s.ross [email protected] wrote:

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:

On Jan 15, 2009, at 7:24 AM, Mike G. wrote:

s.ross’s email about Screw.Unit brought prompted me to ask this
question:

  1. What do you use for Javascript Unit testing?

I’ve tried jsspec and Screw.Unit and so far I’m thinking Screw.Unit is
better suited to what I’m doing. It has nested describes, etc.

  1. How do you integrate it with a continuous build such as CCRB?
    (I’m guessing selenium).

It would be selenium using screw-unit-server, but I’m not there yet.
My project is behind the curve on JS testing.

s.ross wrote:

  1. How do you integrate it with a continuous build such as CCRB? (I’m
    guessing selenium).

It would be selenium using screw-unit-server, but I’m not there yet.
My project is behind the curve on JS testing.

Might want to check out this project:

Don’t know how far along it is. I haven’t played with it yet.

Scott

On 16 Jan 2009, at 06:58, Scott T. wrote:

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:

Matt W.
http://blog.mattwynne.net

On 16 Jan 2009, at 15:04, Mike G. wrote:

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?

Matt W.
http://blog.mattwynne.net

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