Sha256: 3f5b4d4aa360f3359838fbd029968620d60436387af9b23cb24eb4a7a775f969

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module XCPretty

  class RSpec < Formatter

    FAIL = "F"
    PASS = "."

    def optional_newline
      ''
    end

    def format_passing_test(suite, test_case, time)
      green(PASS)
    end

    def format_failing_test(test_suite, test_case, reason, file)
      red(FAIL)
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xcpretty-0.0.9 lib/xcpretty/formatters/rspec.rb
xcpretty-0.0.8 lib/xcpretty/formatters/rspec.rb
xcpretty-0.0.7 lib/xcpretty/formatters/rspec.rb