JSpec vs Jasmine vs QUnit for testing javascript and jQuery in Rails

I am looking for a modular test environment for use with javascript that integrates well with Rails 3.0

Anyone who has experience working with the above structures can share their experience?

** UPDATE: JSpec now terminates according to their Github repository: http://github.com/visionmedia/jspec , so this leaves Jasmine and QUnit

+6
javascript jquery ruby-on-rails unit-testing
source share
3 answers

I used QUnit for projects written in .NET and Java. In both worlds, we had to integrate integration. I do not expect Rails integration to be more expected.

+1
source share

Jasmine does a great job with Rails 3, see how to integrate it: http://pivotallabs.com/users/dwfrank/blog/articles/1427-jasmine-in-rails-3

+7
source share

Check out qunit for rails if you are using Qunit.

+3
source share

All Articles