Sha256: df06d2a51b0938778db46744ecefbd27d1f1e97e50ff7f0f2f0b98a26ce864ba

Contents?: true

Size: 374 Bytes

Versions: 180

Compression:

Stored size: 374 Bytes

Contents

require 'rspec/core/formatters/base_formatter'

class OrigenFormatter < RSpec::Core::Formatters::BaseFormatter

  def dump_summary(duration, example_count, failure_count, pending_count)
    if failure_count > 0
      Origen.app.stats.report_fail
    else
      Origen.app.stats.report_pass
    end
    super(duration, example_count, failure_count, pending_count)
  end

end

Version data entries

180 entries across 180 versions & 1 rubygems

Version Path
origen-0.7.31 spec/format/origen_formatter.rb
origen-0.7.30 spec/format/origen_formatter.rb
origen-0.7.29 spec/format/origen_formatter.rb
origen-0.7.28 spec/format/origen_formatter.rb
origen-0.7.27 spec/format/origen_formatter.rb
origen-0.7.26 spec/format/origen_formatter.rb
origen-0.7.25 spec/format/origen_formatter.rb
origen-0.7.24 spec/format/origen_formatter.rb
origen-0.7.23 spec/format/origen_formatter.rb
origen-0.7.22 spec/format/origen_formatter.rb
origen-0.7.21 spec/format/origen_formatter.rb
origen-0.7.20 spec/format/origen_formatter.rb
origen-0.7.19 spec/format/origen_formatter.rb
origen-0.7.18 spec/format/origen_formatter.rb
origen-0.7.17 spec/format/origen_formatter.rb
origen-0.7.16 spec/format/origen_formatter.rb
origen-0.7.15 spec/format/origen_formatter.rb
origen-0.7.14 spec/format/origen_formatter.rb
origen-0.7.13 spec/format/origen_formatter.rb
origen-0.7.12 spec/format/origen_formatter.rb