[rspec-users] On debugging rspec; running all specs under multiple directories
jerry.west at ntlworld.com
Tue Feb 27 04:03:10 EST 2007
> One thing I would like to do is run all of the specs in the rspec
> library to see if they are passing. - the ones that fail will
> probably point to the culprit. How can I run all of the specs under
> one directory, if the specs are under subdirectories? This maybe
> more of a unix question then an rspec one...
Well, for the 0.7.5.1 plugin
cd $RAILSDIR; spec -cfs vendor/plugins/rspec_on_rails/spec/
I imagine the filesystem layout is the same for 0.8/trunk(?).
Ironically, you can't run many of the 0.7.5.1 specs under 0.7.5.1 as
they use the latest 'should' syntax available only with 0.8RC1/trunk.
Hope this helps,
More information about the rspec-users