As far as I can tell, while there are several, there are none that are
actually Just Work good. It seems to be an area still in flux, people
coming up with an open source way to do that that is reliable and easy
to use and just works.
The main division in current approaches seems to be between: 1) Trying
to automate _actual browsers_ so you know you've tested it in the real
browsers you care about (the headaches of this are obvious, but people
are doing it!), and 2) Using a headless javascript browser that can be
run right on the server, to test general javascriptyness but without
testing idiosyncracies of particular browsers (I would lean towards this
one myself, I'm willing to give up what it gives up for something that
works a lot simpler with less headaches).
Jonathan
On 1/11/2011 7:21 PM, Bess Sadler wrote:
> Can anyone recommend a javascript testing framework? At Stanford, we know we need to test the js portions of our applications, but we haven't settled on a tool for that yet. I've heard good things about celerity (http://celerity.rubyforge.org/) but I believe it only works with jruby, which has been a barrier to getting started with it so far. Anyone have other tools to suggest? Is anyone doing javascript testing in a way they like? Feel like sharing?
>
> Thanks!
>
> Bess
>
|