IosXcTest class

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.

Constructors

IosXcTest({String? appBundleId, bool? testSpecialEntitlements, FileReference? testsZip, String? xcodeVersion, FileReference? xctestrun})
IosXcTest.fromJson(Map json_)

Properties

appBundleId String?
The bundle id for the application under test.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testSpecialEntitlements bool?
The option to test special app entitlements.
getter/setter pair
testsZip FileReference?
The .zip containing the .xctestrun file and the contents of the DerivedData/Build/Products directory.
getter/setter pair
xcodeVersion String?
The Xcode version that should be used for the test.
getter/setter pair
xctestrun FileReference?
An .xctestrun file that will override the .xctestrun file in the tests zip.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited