Sha256: ba20fbd7a95acedbec81104e22e39083033bd76d6aeb228343a7f94d8146d1b9

Contents?: true

Size: 361 Bytes

Versions: 18

Compression:

Stored size: 361 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

18 entries across 18 versions & 2 rubygems

Version Path
learn-xcpretty-0.1.12 spec/fixtures/custom_formatter.rb
xcpretty-0.1.12 spec/fixtures/custom_formatter.rb
xcpretty-0.1.11 spec/fixtures/custom_formatter.rb
xcpretty-0.1.10 spec/fixtures/custom_formatter.rb
learn-xcpretty-0.1.11 spec/fixtures/custom_formatter.rb
xcpretty-0.1.9 spec/fixtures/custom_formatter.rb
xcpretty-0.1.8 spec/fixtures/custom_formatter.rb
xcpretty-0.1.7 spec/fixtures/custom_formatter.rb
xcpretty-0.1.6 spec/fixtures/custom_formatter.rb
xcpretty-0.1.5 spec/fixtures/custom_formatter.rb
xcpretty-0.1.4 spec/fixtures/custom_formatter.rb
xcpretty-0.1.3 spec/fixtures/custom_formatter.rb
xcpretty-0.1.2 spec/fixtures/custom_formatter.rb
xcpretty-0.1.1 spec/fixtures/custom_formatter.rb
xcpretty-0.1.0 spec/fixtures/custom_formatter.rb
xcpretty-0.0.9 spec/fixtures/custom_formatter.rb
xcpretty-0.0.8 spec/fixtures/custom_formatter.rb
xcpretty-0.0.7 spec/fixtures/custom_formatter.rb