Blue Ridge 1.0 has been released!
by Relevance, http://thinkrelevance.com
and it brings the goodness of test-driven and behavior-driven
You wouldn’t consider developing a Rails application without having a
solid test suite for your Ruby code, but you’ve somehow convinced
yourself to cross your fingers and look the other way when it comes to
forced to choose whether you wanted a framework that could run your
tests in the browser or one that could only run your tests in a
headless fashion. By providing a friendly convention-over-
configuration wrapper around a collection of great open source tools,
Blue Ridge gives us the best of both worlds: fast, automation-
friendly, and headless testing plus the ability to run your tests in
whichever browser is acting up on any given day.
- jQuery and Prototype support
execution and integration with your Continuous Integration build
- Mocking support via Smoke
- TextMate integration for running specs from inside TextMate
Install Blue Ridge into your Rails app:
./script/plugin install git://github.com/relevance/blue-ridge.git ./script/generate blue_ridge
Blue Ridge creates a small example spec to get you started. Run your
testing framework of choice, be it test/unit, RSpec, Micronaut,
Shoulda, test-spec, etc.
Installing the plugin creates an example spec (“application_spec.js”),
demonstrating some basic tests to help you get a feel for the
structure of the tests.
This particular spec uses jQuery, but you can optionally configure
your spec to use Prototype.
And, no, we don’t actually encourage you to write tests for standard
libraries like jQuery and Prototype; it just happens to make for an
Check out the README  for detailed information on each of the
features described above and for tips and tricks for getting the most
out of Blue Ridge.
Explore the sample app  to see more specs and testing techniques in
Use the project’s GitHub issue tracker  to let us know about any
issues or ideas for possible improvements. Even better, fork the repo
 and start hacking! If you have patches, send us pull requests.