[rspec-users] log file
dchelimsky at gmail.com
Wed May 23 15:36:25 EDT 2007
On 5/23/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> On 5/23/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
> > hi,
> > When running rails spec tests is there a log file generated? i'm
> You can specify what kind of output you want on RSpec's command line.
> See spec --help for details. For example, you can do:
> spec --format specdoc:path/to/myfile.txt pat/to/my/specs
> I'm not sure how to tell autotest to give special command line options
> to the spec command though.
You'll have to read the ZenTest docs for details, but the high level
is that you can add hooks in a .autotest file in the root of your
rails project that tell autotest what command to use, what examples to
run when certain files get changed, etc.
> > looking for generated sql to help me debug like in development.log
> > or is there a way to run the test against a webrick server so i can
> > see logs?
> > (i'm not running with spec_server at the moment, it doesnt seem to
> > work well with autotest)
> > thanks
> > linoj
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users