# File lib/rspec/core/reporter.rb, line 17 def conclude begin stop notify :start_dump notify :dump_pending notify :dump_failures notify :dump_summary, @duration, @example_count, @failure_count, @pending_count ensure notify :close end end
# File lib/rspec/core/reporter.rb, line 57 def example_failed(example) @failure_count += 1 notify :example_failed, example end
# File lib/rspec/core/reporter.rb, line 44 def example_group_finished(group) notify :example_group_finished, group end
# File lib/rspec/core/reporter.rb, line 40 def example_group_started(group) notify :example_group_started, group end
# File lib/rspec/core/reporter.rb, line 53 def example_passed(example) notify :example_passed, example end
# File lib/rspec/core/reporter.rb, line 62 def example_pending(example) @pending_count += 1 notify :example_pending, example end
# File lib/rspec/core/reporter.rb, line 48 def example_started(example) @example_count += 1 notify :example_started, example end
# File lib/rspec/core/reporter.rb, line 36 def message(message) notify :message, message end
# File lib/rspec/core/reporter.rb, line 72 def notify(method, *args, &block) @formatters.each do |formatter| formatter.send method, *args, &block end end
# File lib/rspec/core/reporter.rb, line 8 def report(count) start(count) begin yield self ensure conclude end end
Generated with the Darkfish Rdoc Generator 2.