Class IosXcTest
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.
Implements
Inherited Members
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class IosXcTest : IDirectResponseSchema
Properties
AppBundleId
Output only. The bundle id for the application under test.
Declaration
[JsonProperty("appBundleId")]
public virtual string AppBundleId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
TestSpecialEntitlements
The option to test special app entitlements. Setting this would re-sign the app having special entitlements with an explicit application-identifier. Currently supports testing aps-environment entitlement.
Declaration
[JsonProperty("testSpecialEntitlements")]
public virtual bool? TestSpecialEntitlements { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TestsZip
Required. The .zip containing the .xctestrun file and the contents of the DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the xctestrun field is specified.
Declaration
[JsonProperty("testsZip")]
public virtual FileReference TestsZip { get; set; }
Property Value
Type | Description |
---|---|
FileReference |
XcodeVersion
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.
Declaration
[JsonProperty("xcodeVersion")]
public virtual string XcodeVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Xctestrun
An .xctestrun file that will override the .xctestrun file in the tests zip. Because the .xctestrun file contains environment variables along with test methods to run and/or ignore, this can be useful for sharding tests. Default is taken from the tests zip.
Declaration
[JsonProperty("xctestrun")]
public virtual FileReference Xctestrun { get; set; }
Property Value
Type | Description |
---|---|
FileReference |