mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Add launch performance measurement to UI test
This commit is contained in:
parent
e29739882e
commit
a11471f7b1
@ -8,7 +8,7 @@
|
|||||||
//
|
//
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// © 2018-2020 1024jp
|
// © 2018-2022 1024jp
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
@ -71,4 +71,13 @@ final class UITests: XCTestCase {
|
|||||||
XCTAssert(documentWindow.exists)
|
XCTAssert(documentWindow.exists)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
func testLaunchPerformance() throws {
|
||||||
|
|
||||||
|
// This measures how long it takes to launch your application.
|
||||||
|
self.measure(metrics: [XCTApplicationLaunchMetric()]) {
|
||||||
|
XCUIApplication().launch()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user