[rspec-users] is there a plain format output for stories?

David Salgado david at digitalronin.com
Wed Jul 9 11:16:07 EDT 2008

I've created a very simple 'basic' formatter, than prints story scenarios as
. / P / F for passing, pending and failing scenarios. You can get it here;


Run it by appending " --format=basic " to the command-line when running your

Hope it's useful


On Jul 8, 4:11 pm, Ben Mabey <b... at benmabey.com> wrote:
> Jim Morris wrote:
> > When running a lot of stories from a script it would be nice to have
> > the plain format of dots rather than the verbose story descriptions.
> > Is there a way to do this? I tried -f p but it ignored it.
> > Thanks
> AFAIK there is currently no such formatter.  Such a formatter would be
> easy to make though and you can pass in the formatter you want to use on
> the command line (even custom classes that you create.)  To get an idea
> of how to do it you can look at the rspec source code in
> lib/spec/runner/formatter.  The formatter for the examples can be found
> there and the story formatter's are in the story subdir.
> -Ben
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080709/465c4975/attachment.html>

More information about the rspec-users mailing list