Tired of waitings 10 seconds before your tests run?
Quick usage instructions
Insert the following lines at the very top of test/test_helper.rb:
require 'rails_test_serving' RailsTestServing.boot
Start the server:
cd <project-dir> ruby test/test_helper.rb --serve
Run tests as you usually do:
ruby test/unit/account_test.rb ruby test/unit/account_test.rb -n /balance/
As a consequence, they work in RubyMate too (⌘R in TextMate).
Note: if the server is not started, tests fall back to running the usual way.
There might exist some quirks: search for “TODO” in the source. I can bear them but contributions are welcome.
Some unit tests are left to be written.