I am looking for a unit testing framework to use with javascript that integrates well with Rails 3.0
Anyone with experience with above frameworks can share their experience?
** UPDATE: JSpec is now discontinued as per their Github repository: http://github.com/visionmedia/jspec so this leaves Jasmine and QUnit
Jasmine works just fine with Rails 3, check out for how to integrate it: http://pivotallabs.com/users/dwfrank/blog/articles/1427-jasmine-in-rails-3
Check out the qunit for rails plugin if you use Qunit.
I've used QUnit on projects written in .NET and Java. In both worlds, we had to homebrew the integration. I don't expect Rails integration to be any more forthcoming.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With