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;<br><br><a href="http://github.com/digitalronin/rspec/tree/master">http://github.com/digitalronin/rspec/tree/master</a><br>
<br>Run it by appending " --format=basic " to the command-line when running your stories.<br><br>Hope it's useful<br><br>David<br><br><br>On Jul 8, 4:11 pm, Ben Mabey <<a href="mailto:b...@benmabey.com">b...@benmabey.com</a>> wrote:<br>
> Jim Morris wrote:<br>> > When running a lot of stories from a script it would be nice to have<br>> > the plain format of dots rather than the verbose story descriptions.<br>> <br>> > Is there a way to do this? I tried -f p but it ignored it.<br>
> <br>> > Thanks<br>> <br>> AFAIK there is currently no such formatter. Such a formatter would be<br>> easy to make though and you can pass in the formatter you want to use on<br>> the command line (even custom classes that you create.) To get an idea<br>
> of how to do it you can look at the rspec source code in<br>> lib/spec/runner/formatter. The formatter for the examples can be found<br>> there and the story formatter's are in the story subdir.<br>> <br>
> -Ben<br>> _______________________________________________<br>> rspec-users mailing list<br>> rspec-us...@rubyforge.orghttp://<a href="http://rubyforge.org/mailman/listinfo/rspec-users">rubyforge.org/mailman/listinfo/rspec-users</a><br>