We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Rubygem
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
rspec / lib / spec / runner / formatter / failing_example_groups_formatter.rb
d265b62f » aslak_hellesoy 2007-12-01 Lazy loading of formatters.... 1 require 'spec/runner/formatter/base_text_formatter'
2
8c27e784 » dchelimsky 2007-10-30 got rid of the test/unit ou... 3 module Spec
4 module Runner
5 module Formatter
f25f434b » dchelimsky 2007-12-09 Renamed FailingBehavioursFo... 6 class FailingExampleGroupsFormatter < BaseTextFormatter
8c27e784 » dchelimsky 2007-10-30 got rid of the test/unit ou... 7 def example_failed(example, counter, failure)
dff59d63 » btakita 2008-05-22 Remove unneeded defensive c... 8 description_parts = @example_group.description_parts.collect do |description|
9 description =~ /(.*) \(druby.*\)$/ ? $1 : description
8c27e784 » dchelimsky 2007-10-30 got rid of the test/unit ou... 10 end
dff59d63 » btakita 2008-05-22 Remove unneeded defensive c... 11 @output.puts ::Spec::Example::ExampleGroupMethods.description_text(*description_parts)
12
13 @output.flush
14 @example_group = nil
8c27e784 » dchelimsky 2007-10-30 got rid of the test/unit ou... 15 end
16
17 def dump_failure(counter, failure)
18 end
19
20 def dump_summary(duration, example_count, failure_count, pending_count)
21 end
22 end
23 end
24 end
25 end