Sha256: 730eb886c5a1070a5a7f3c7dddce59af81f768df7887a0410112b388070f762e

Contents?: true

Size: 363 Bytes

Versions: 26

Compression:

Stored size: 363 Bytes

Contents

# encoding: utf-8
class EmojiFormatter < XCPretty::Formatter

  def format_compile(file_name, file_path)
    "😎 Compilation party time for #{file_name}"
  end

  def format_failing_test(suite, test_case, reason, file)
    "😞 #{test_case}"
  end

  def format_passing_test(suite, test_case, time)
    "😍 #{test_case} (#{time})"
  end
end

EmojiFormatter

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
xcpretty-0.2.0 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb5 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb4 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb3 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb2 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb1 spec/fixtures/custom_formatter.rb