Forum: RSpec How do you enable verbose output from command line?

Posted by George (Guest)
on 2010-08-20 10:38
(Received via mailing list)
Using this command our specs run with the dot-dot-dot output:

  jruby -X-C -S rake spec SPEC=spec/models/trip_spec.rb

But how do we make the output verbose? (To see each spec description)

Many thanks,
George
Posted by David Chelimsky (Guest)
on 2010-08-20 16:24
(Received via mailing list)
On Aug 20, 2010, at 3:36 AM, George wrote:

> Using this command our specs run with the dot-dot-dot output:
> 
>  jruby -X-C -S rake spec SPEC=spec/models/trip_spec.rb
> 
> But how do we make the output verbose? (To see each spec description)

RSpec-1: in ../spec/spec.opts:

--format nested

RSpec-2: in ./.rspec

--format documentation

HTH,
David
Posted by George (Guest)
on 2010-08-24 16:26
(Received via mailing list)
That did it, thanks David.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.