yattee/Tests macOS/Tests_macOS.swift

13 lines
376 B
Swift
Raw Permalink Normal View History

2021-06-09 20:51:23 +00:00
import XCTest
class Tests_macOS: XCTestCase {
func testLaunchPerformance() throws {
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}
}