class XCPretty::RSpec

Constants

FAIL
MEASURING
PASS
PENDING

Public Instance Methods

format_failing_test(test_suite, test_case, reason, file) click to toggle source
# File lib/xcpretty/formatters/rspec.rb, line 18
def format_failing_test(test_suite, test_case, reason, file)
  red(FAIL)
end
format_measuring_test(suite, test_case, time) click to toggle source
# File lib/xcpretty/formatters/rspec.rb, line 26
def format_measuring_test(suite, test_case, time)
  yellow(MEASURING)
end
format_passing_test(suite, test_case, time) click to toggle source
# File lib/xcpretty/formatters/rspec.rb, line 14
def format_passing_test(suite, test_case, time)
  green(PASS)
end
format_pending_test(suite, test_case) click to toggle source
# File lib/xcpretty/formatters/rspec.rb, line 22
def format_pending_test(suite, test_case)
  yellow(PENDING)
end
optional_newline() click to toggle source
# File lib/xcpretty/formatters/rspec.rb, line 10
def optional_newline
  ''
end