XCTStorageMetric
public class XCTStorageMetric : XCTest.XCTStorageMetric, XCTMetric
A metric to record the amount of data that a performance test logically writes to storage.
XCTStorageMetric
is a wrapper to
XCTest.XCTStorageMetric
.
-
Reports the measurements gathered for a metric between specific timestamps.
Stores the measurement results of
reportMeasurements(from:to:)
allowing you to make assertions to them.Declaration
Swift
public override func reportMeasurements(from startTime: XCTPerformanceMeasurementTimestamp, to endTime: XCTPerformanceMeasurementTimestamp) throws -> [XCTPerformanceMeasurement]
-
Declaration
Swift
override public func copy(with zone: NSZone? = nil) -> Any