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
-
#app_bundle_id ⇒ String
Output only.
-
#tests_zip ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
-
#xcode_version ⇒ String
The Xcode version that should be used for the test.
-
#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
1380 1381 1382 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_bundle_id ⇒ String
Output only. The bundle id for the application under test.
Corresponds to the JSON property appBundleId
1361 1362 1363 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1361 def app_bundle_id @app_bundle_id end |
#tests_zip ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property testsZip
1366 1367 1368 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1366 def tests_zip @tests_zip end |
#xcode_version ⇒ String
The Xcode version that should be used for the test.
Use the TestEnvironmentDiscoveryService to get supported options.
Defaults to the latest Xcode version Firebase Test Lab supports.
Corresponds to the JSON property xcodeVersion
1373 1374 1375 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1373 def xcode_version @xcode_version end |
#xctestrun ⇒ Google::Apis::TestingV1::FileReference
A reference to a file, used for user inputs.
Corresponds to the JSON property xctestrun
1378 1379 1380 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1378 def xctestrun @xctestrun end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1385 1386 1387 1388 1389 1390 |
# File 'generated/google/apis/testing_v1/classes.rb', line 1385 def update!(**args) @app_bundle_id = args[:app_bundle_id] if args.key?(:app_bundle_id) @tests_zip = args[:tests_zip] if args.key?(:tests_zip) @xcode_version = args[:xcode_version] if args.key?(:xcode_version) @xctestrun = args[:xctestrun] if args.key?(:xctestrun) end |