[Rspec-devel] Rake, recursive directories

Jay Levitt lists-rspec at shopwatch.org
Tue Jun 6 22:28:23 EDT 2006


>> How do I get "rake spec" to show me format=specdoc?
>>
> 
> You'll have to tweak lib/tasks/rspec.rake

Ah, thanks.. looks like simply running "spec spec/* -f s" is much, much 
faster than launching rake to relaunch ruby.

So I set about trying to add recursive directory support, so that I 
could just type "spec spec -f s", but I can't follow where the file is 
opened.  It looks like it's in tool/command_line.rb, but that's talking 
about source and destination files and dirs, which is confusing in this 
context.  Is translator just an overly-generic pattern being called into 
play, or something else I'm missing?

What I wouldn't give for a proper step-through debugger for Ruby!

Jay



More information about the Rspec-devel mailing list