Protocols
The following protocols are available globally.
-
Extends
See moreXCTest.XCTMetric
withmeasurements
holding recorded performance metrics.Declaration
Swift
public protocol XCTMetric : XCTMetric
-
Identifies the type of
measurements
when making assertions.For example when measuring CPU performance you can specify what type of characteristics of metrics do you want to make assertions for, e.g.
See moretime
orcycles
.Declaration
Swift
public protocol XCTAssertMetricIdentifier