IosRunnerSession class

Live connection to an XCUITest runner process.

Constructors

IosRunnerSession({required String udid, required int port, required int xcodebuildPid, required String xctestrunPath, required String logPath, IosRunnerKind kind = IosRunnerKind.simulator, String? tunnelIp, DateTime? lastSuccessAt})

Properties

hashCode int
The hash code for this object.
no setterinherited
kind → IosRunnerKind
final
lastSuccessAt DateTime?
Timestamp of the most recent successful runner response. Used to short-circuit the readiness preflight for hot tap sequences: if the runner responded successfully within runnerTapPreflightSkipFreshness, the uptime probe can be skipped for tap and tapSeries commands. Null until the first successful response.
getter/setter pair
logPath String
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tunnelIp String?
CoreDevice IPv6 tunnel address for device sessions. Cached at launch time so every command POSTs against the same endpoint without re-running xcrun devicectl device info details. Null for simulator sessions (which use loopback).
final
udid String
final
xcodebuildPid int
final
xctestrunPath String
final

Methods

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

Operators

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

Static Methods

fromJson(Object? raw) IosRunnerSession?