Module: Scan

Defined in:
scan/lib/scan/options.rb,
scan/lib/scan/module.rb,
scan/lib/scan/runner.rb,
scan/lib/scan/manager.rb,
scan/lib/scan/slack_poster.rb,
scan/lib/scan/detect_values.rb,
scan/lib/scan/error_handler.rb,
scan/lib/scan/commands_generator.rb,
scan/lib/scan/test_result_parser.rb,
scan/lib/scan/test_command_generator.rb,
scan/lib/scan/xcpretty_reporter_options_generator.rb

Overview

rubocop:disable Metrics/ClassLength

Defined Under Namespace

Classes: CommandsGenerator, DetectValues, ErrorHandler, Manager, Options, Runner, SlackPoster, TestCommandGenerator, TestResultParser, XCPrettyReporterOptionsGenerator

Constant Summary collapse

Helper =

you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore

FastlaneCore::Helper
UI =
FastlaneCore::UI
Boolean =
Fastlane::Boolean
ROOT =
Pathname.new(File.expand_path('../../..', __FILE__))
DESCRIPTION =
"The easiest way to run tests of your iOS and Mac app"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.cacheObject

Returns the value of attribute cache.



11
12
13
# File 'scan/lib/scan/module.rb', line 11

def cache
  @cache
end

.configObject

Returns the value of attribute config.



7
8
9
# File 'scan/lib/scan/module.rb', line 7

def config
  @config
end

.devicesObject

Returns the value of attribute devices.



13
14
15
# File 'scan/lib/scan/module.rb', line 13

def devices
  @devices
end

.projectObject

Returns the value of attribute project.



9
10
11
# File 'scan/lib/scan/module.rb', line 9

def project
  @project
end

Class Method Details

.building_mac_catalyst_for_mac?Boolean

Returns:



25
26
27
28
# File 'scan/lib/scan/module.rb', line 25

def building_mac_catalyst_for_mac?
  return false unless Scan.project
  Scan.config[:catalyst_platform] == "macos" && Scan.project.supports_mac_catalyst?
end

.scanfile_nameObject



21
22
23
# File 'scan/lib/scan/module.rb', line 21

def scanfile_name
  "Scanfile"
end