XCTMetric

public protocol XCTMetric : XCTMetric

Extends XCTest.XCTMetric with measurements holding recorded performance metrics.

  • measurements Default implementation

    Holds recorded performance metrics.

    Use XCTAssertMetric(_:_:_:_:file:line:) to make assertions for the measurements.

    Default Implementation

    Declaration

    Swift

    var measurements: [XCTPerformanceMeasurement] { get }