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.10.1 spec/format/origen_formatter.rb
origen-0.9.1 spec/format/origen_formatter.rb
origen-0.9.0 spec/format/origen_formatter.rb
origen-0.8.0 spec/format/origen_formatter.rb
origen-0.7.47 spec/format/origen_formatter.rb
origen-0.7.46 spec/format/origen_formatter.rb
origen-0.7.45 spec/format/origen_formatter.rb
origen-0.7.44 spec/format/origen_formatter.rb
origen-0.7.43 spec/format/origen_formatter.rb
origen-0.7.42 spec/format/origen_formatter.rb
origen-0.7.41 spec/format/origen_formatter.rb
origen-0.7.40 spec/format/origen_formatter.rb
origen-0.7.39 spec/format/origen_formatter.rb
origen-0.7.38 spec/format/origen_formatter.rb
origen-0.7.37 spec/format/origen_formatter.rb
origen-0.7.36 spec/format/origen_formatter.rb
origen-0.7.35 spec/format/origen_formatter.rb
origen-0.7.34 spec/format/origen_formatter.rb
origen-0.7.33 spec/format/origen_formatter.rb
origen-0.7.32 spec/format/origen_formatter.rb