I am wondering what is the easiest way to do the JavaScript **Unit** testing as part of Rails 3.1 application.

I like Jasmine a lot and it works pretty well (although some tricks are required for it to pick up `.coffee` files).

The only problem I have with Jasmine is that it runs **all the tests examples inside one huge page** which is very problematic as it requires loading ALL of the scripts.

The thing I really want is **Jasmine + multiple test suites in multiple files** (so that it generates multiple html files including spec files).

In addition to that, I want to run tests (hopefully easily) in the browsers, headless or inside a JS engine (when possible).

Any recommendations?