Javascript Testing Framework

I have recently begun learning test driven development with rails. I
have been using Test::Unit and so far I am learning a lot. I want to
start looking at testing javscript. I was wondering what Javscript
testing frameworks the rails community recommends. I did a google
search and found QUnit and JSpec.

Does anybody have any experience with these frameworks, or is there
another one that is better?

Thanks in advance,

Alex Shenoy

Hi!
Have you heard about Jasmine?

Cheers,
jb

Em Out 5, 2011 10:25 Depois do meio-dia, “Alex” [email protected]
escreveu:

I have recently begun learning test driven development with rails. I
have been using Test::Unit and so far I am learning a lot. I want to
start looking at testing javscript. I was wondering what Javscript
testing frameworks the rails community recommends. I did a google
search and found QUnit and JSpec.

Does anybody have any experience with these frameworks, or is there
another one that is better?

Thanks in advance,

Alex Shenoy


You received this message because you are subscribed to the Google
Groups
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

I’ve used YUItest: http://yuilibrary.com/yui/docs/test/ and it works
pretty well.

That looks really good. I like that there is a Gem for it. I installed
it for one of my apps. I’ll give it a go.

Thanks,

Alex Shenoy

On Oct 6, 2:31 pm, Jose B. [email protected] wrote:

Hi!
Have you heard about Jasmine?

On Sat, Oct 8, 2011 at 10:57 PM, Alex Shenoy [email protected]
wrote:

That looks really good. I like that there is a Gem for it. I installed
it for one of my apps. I’ll give it a go.

At Arrrrcamp, Jonas N. explained us about Evergreen as a packaged
gem
for jasmine (https://github.com/jnicklas/evergreen).

HTH,

Peter

QUnit is a javascript test suit used by jQuery project team.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs