[rspec-users] On debugging rspec; running all specs under multiple directories
aslak hellesoy
aslak.hellesoy at gmail.com
Tue Feb 27 04:41:15 EST 2007
On 2/27/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>
> The latest bug - the one that I've just put into the tracker - is
> halting all work that I'm doing on this rails project. I would like
> to contribute back to the community, and fix the bug for myself. Any
> suggestions on how to do this? Maybe some suggestions for how to
> debug a code base which you are unfamiliar with?
>
> 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...
>
Try this:
spec --help
The first line of the help tells you that you can pass a directory to
the spec command:
spec some/dir
If you want to run RSpec's own suite of specs, check out the code with
svn and read the README.
HTH,
Aslak
>
> Thanks for the help,
>
> Scott Taylor
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
More information about the rspec-users
mailing list