Method: Xcodeproj::XCScheme::TestAction#testables

Defined in:
lib/xcodeproj/scheme/test_action.rb

#testablesArray<TestableReference>

Returns The list of TestableReference (test bundles) associated with this Test Action.

Returns:

  • (Array<TestableReference>)

    The list of TestableReference (test bundles) associated with this Test Action



71
72
73
74
75
76
77
# File 'lib/xcodeproj/scheme/test_action.rb', line 71

def testables
  return [] unless @xml_element.elements['Testables']

  @xml_element.elements['Testables'].get_elements('TestableReference').map do |node|
    TestableReference.new(node)
  end
end