Story runner output

Is it possible to optionally reduce the story runner output to just
dots or something? Lots of stories makes it difficult to see previous
test results.

Joe

On Wed, Mar 26, 2008 at 6:35 PM, Joe Van D. [email protected] wrote:

Is it possible to optionally reduce the story runner output to just
dots or something? Lots of stories makes it difficult to see previous
test results.

Anything is possible, but you have to implement a
progress_bar_formatter. See spec/runner/formatter/story
Unfortunately, the formatters for examples and stories are not the
same, but you can look at
spec/runner/formatter/progress_bar_formatter.rb for inspiration.

And finally you have to make the command line able to understand you
want that formatter. See spec/runner/options.rb STORY_FORMATTERS

Patches are welcome as always.

Aslak

brynary has done this work already (
http://github.com/brynary/rspec/tree/master). David was getting failures
when merging it in though. I looked into it one day, but nothing failed
for
me.

David, have you had a chance to give it another look? I would love to
get
this in.

Mark

On Wed, Mar 26, 2008 at 1:45 PM, aslak hellesoy
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs