[Rspec-devel] run specs FAST with rails_spec

aslak hellesoy aslak.hellesoy at gmail.com
Mon Jul 3 22:00:08 EDT 2006


In subversion I just added an additional feature to the rails stuff.
After doing a 'ruby script/generate rspec' you will have two new
files:

script/rails_spec
script/rails_spec_runner

The first one has the same command line interface as the traditional
'spec' command. It talks DRB to a server (script/rails_spec_runner)
which runs in the background with a preloaded rails environment.

To the TextMate bundle and other IDE hackers out there: Please add an
option to run this script/rails_spec command from the editor/IDE for
rails project. This will give us FAST specs for rails apps in a more
integrated environment.

The latest gem doesn't have this code yet, so for now you will have to
do a rake package from svn and install the rspec and rspec_generators
from your file system.

Enjoy!

Aslak


More information about the Rspec-devel mailing list