Class: Google::Apis::TestingV1::IosXcTest
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::IosXcTest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb
Overview
A test of an iOS application that uses the XCTest framework. Xcode supports the option to "build for testing", which generates an .xctestrun file that contains a test specification (arguments, test methods, etc). This test type accepts a zip file containing the .xctestrun file and the corresponding contents of the Build/Products directory that contains all the binaries needed to run the tests.
Instance Attribute Summary collapse
-
#tests_zip ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
-
#xctestrun ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosXcTest
constructor
A new instance of IosXcTest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IosXcTest
Returns a new instance of IosXcTest
1331 1332 1333 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tests_zip ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property testsZip
1324 1325 1326 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1324 def tests_zip @tests_zip end |
#xctestrun ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property xctestrun
1329 1330 1331 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1329 def xctestrun @xctestrun end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1336 1337 1338 1339 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1336 def update!(**args) @tests_zip = args[:tests_zip] if args.key?(:tests_zip) @xctestrun = args[:xctestrun] if args.key?(:xctestrun) end |