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.4.0 spec/fixtures/custom_formatter.rb
xcpretty-security-patched-0.3.2 spec/fixtures/custom_formatter.rb
xcpretty-security-patched-0.3.0 spec/fixtures/custom_formatter.rb
xcpretty-0.3.0 spec/fixtures/custom_formatter.rb
xcpretty-0.2.8 spec/fixtures/custom_formatter.rb
xcpretty-0.2.7 spec/fixtures/custom_formatter.rb
xcpretty-0.2.6 spec/fixtures/custom_formatter.rb
xcpretty-0.2.4 spec/fixtures/custom_formatter.rb
xcpretty-0.2.3 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb14 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb13 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb12 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb11 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb10 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb9 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb8 spec/fixtures/custom_formatter.rb
xcpretty-0.2.2 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb7 spec/fixtures/custom_formatter.rb
xcpretty-0.2.1 spec/fixtures/custom_formatter.rb
xcpretty-bb-0.1.12.bb6 spec/fixtures/custom_formatter.rb