Sha256: e529457e1f2444e9e62d51a819fa72ba105d513a490d7f0b9f871d941d85b011
Contents?: true
Size: 782 Bytes
Versions: 47
Compression:
Stored size: 782 Bytes
Contents
require 'spec/runner/formatter/base_text_formatter' module Spec module Runner module Formatter class FailingExampleGroupsFormatter < BaseTextFormatter def example_failed(example, counter, failure) if @example_group description_parts = @example_group.description_parts.collect do |description| description =~ /(.*) \(druby.*\)$/ ? $1 : description end @output.puts ::Spec::Example::ExampleGroupMethods.description_text(*description_parts) @output.flush @example_group = nil end end def dump_failure(counter, failure) end def dump_summary(duration, example_count, failure_count, pending_count) end end end end end
Version data entries
47 entries across 47 versions & 10 rubygems