Class: Spec::Runner::Formatter::FailingExampleGroupsFormatter

Class | Spec::Runner::Formatter::FailingExampleGroupsFormatter
In: | lib/spec/runner/formatter/failing_example_groups_formatter.rb
Parent: | BaseTextFormatter

### Methods

add_example_group dump_failure dump_summary example_failed

### Public Instance methods

add_example_group(example_group)

[Source]

        # File lib/spec/runner/formatter/failing_example_groups_formatter.rb, line 7
     7:         def add_example_group(example_group)
     8:           super
     9:           @example_group_description_parts = example_group.description_parts
    10:         end

dump_failure(counter, failure)

[Source]

        # File lib/spec/runner/formatter/failing_example_groups_formatter.rb, line 23
    23:         def dump_failure(counter, failure)
    24:         end

dump_summary(duration, example_count, failure_count, pending_count)

[Source]

        # File lib/spec/runner/formatter/failing_example_groups_formatter.rb, line 26
    26:         def dump_summary(duration, example_count, failure_count, pending_count)
    27:         end

example_failed(example, counter, failure)

[Source]

        # File lib/spec/runner/formatter/failing_example_groups_formatter.rb, line 12
    12:         def example_failed(example, counter, failure)
    13:           if @example_group_description_parts
    14:             description_parts = @example_group_description_parts.collect do |description|
    15:               description =~ /(.*) \(druby.*\)$/ ? $1 : description
    16:             end
    17:             @output.puts ::Spec::Example::ExampleGroupMethods.description_text(*description_parts)
    18:             @output.flush
    19:             @example_group_description_parts = nil
    20:           end
    21:         end

[Validate]