Class: Fastlane::Actions::XctestAction
- Inherits:
-
Fastlane::Action
- Object
- Fastlane::Action
- Fastlane::Actions::XctestAction
- Defined in:
- lib/fastlane/actions/xcodebuild.rb
Class Method Summary collapse
- .author ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Methods inherited from Fastlane::Action
action_name, authors, details, output, return_value, sh, step_text
Class Method Details
.author ⇒ Object
436 437 438 |
# File 'lib/fastlane/actions/xcodebuild.rb', line 436 def self. "dtrenz" end |
.available_options ⇒ Object
419 420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/fastlane/actions/xcodebuild.rb', line 419 def self. [ ['archive', 'Set to true to build archive'], ['archive_path', 'The path to archive the to. Must contain `.xcarchive`'], ['workspace', 'The workspace to use'], ['scheme', 'The scheme to build'], ['build_settings', 'Hash of additional build information'], ['destination', 'The simulator to use, e.g. "name=iPhone 5s,OS=8.1"'], ['destination_timeout', 'The timeout for connecting to the simulator, in seconds'], ['output_style', 'Set the output format to one of: :standard (Colored UTF8 output, default), :basic (black & white ASCII outout)'] ] end |
.description ⇒ Object
415 416 417 |
# File 'lib/fastlane/actions/xcodebuild.rb', line 415 def self.description "Runs tests on the given simulator" end |
.is_supported?(platform) ⇒ Boolean
432 433 434 |
# File 'lib/fastlane/actions/xcodebuild.rb', line 432 def self.is_supported?(platform) [:ios, :mac].include? platform end |
.run(params) ⇒ Object
409 410 411 412 413 |
# File 'lib/fastlane/actions/xcodebuild.rb', line 409 def self.run(params) params_hash = params || {} params_hash[:test] = true XcodebuildAction.run(params_hash) end |