Sha256: c327ae43ed07abd4b00444fe0fe5619cd24f063033eb835a8f6be7ea28ada2f7
Contents?: true
Size: 823 Bytes
Versions: 3
Compression:
Stored size: 823 Bytes
Contents
require_relative 'module' module Snapshot class ErrorHandler class << self # @param [Array] The output of the errored build (line by line) # This method should raise an exception in any case, as the return code indicated a failed build def handle_test_error(output, return_code) # The order of the handling below is import if return_code == 65 UI.user_error!("Tests failed - check out the log above") end case output when /com\.apple\.CoreSimulator\.SimError/ UI.important("The simulator failed to launch - retrying...") when /is not configured for Running/ UI.user_error!("Scheme is not properly configured, make sure to check out the snapshot README") end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems