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;
http://github.com/digitalronin/rspec/tree/master Run it by appending " --format=basic " to the command-line when running your stories. Hope it's useful David On Jul 8, 4:11 pm, Ben Mabey <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED]://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
