[rspec-users] How do you enable verbose output from command line?

4,361 views
Skip to first unread message

George

unread,
Aug 20, 2010, 4:36:11 AM8/20/10
to rspec...@rubyforge.org
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
_______________________________________________
rspec-users mailing list
rspec...@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

David Chelimsky

unread,
Aug 20, 2010, 10:12:35 AM8/20/10
to rspec-users
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

George

unread,
Aug 24, 2010, 10:06:56 AM8/24/10
to rspec...@rubyforge.org
That did it, thanks David.

On Aug 20, 3:12 pm, David Chelimsky <dchelim...@gmail.com> wrote:
> 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
>
>
>
> > Many thanks,
> > George
>
> _______________________________________________
> rspec-users mailing list

> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users

Reply all
Reply to author
Forward
0 new messages