Class: TestCenter::Helper::TestCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/test_center/helper/test_collector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ TestCollector

Returns a new instance of TestCollector.



13
14
15
16
17
18
19
# File 'lib/fastlane/plugin/test_center/helper/test_collector.rb', line 13

def initialize(options)
  @invocation_based_tests = options[:invocation_based_tests]
  @swift_test_prefix = options[:swift_test_prefix]

  @xctestrun_path = self.class.xctestrun_filepath(options)
  initialize_batches(options)
end

Instance Attribute Details

#batchesObject (readonly)

Returns the value of attribute batches.



10
11
12
# File 'lib/fastlane/plugin/test_center/helper/test_collector.rb', line 10

def batches
  @batches
end

#testablesObject (readonly)

Returns the value of attribute testables.



11
12
13
# File 'lib/fastlane/plugin/test_center/helper/test_collector.rb', line 11

def testables
  @testables
end

#xctestrun_pathObject (readonly)

Returns the value of attribute xctestrun_path.



9
10
11
# File 'lib/fastlane/plugin/test_center/helper/test_collector.rb', line 9

def xctestrun_path
  @xctestrun_path
end