class TestCenter::Helper::MultiScanManager::TestBatchWorker

Attributes

state[RW]

Public Class Methods

new(options) click to toggle source
# File lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb, line 7
def initialize(options)
  @options = options
  @state = :ready_to_work
end

Public Instance Methods

process_results() click to toggle source
# File lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb, line 12
def process_results
  @state = :ready_to_work
end
run(run_options) click to toggle source
# File lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb, line 16
def run(run_options)
  self.state = :working
  test_batch_worker_final_result = RetryingScan.run(@options.merge(run_options))
  @options[:test_batch_results] << test_batch_worker_final_result
  self.state = :ready_to_work
  test_batch_worker_final_result
end