Skip to content

Commit

Permalink
Update deprecated launch performance test (#428)
Browse files Browse the repository at this point in the history
Apple has changed the intended metrics for tests which benchmark startup
time. Switch to the new metric.

Testing:
Verify tests pass locally and also in CI
  • Loading branch information
theospears authored Jan 28, 2024
1 parent 102c181 commit 559d321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BeeSwiftUITests/BeeSwiftUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class BeeSwiftUITests: XCTestCase {

func testLaunchPerformance() {
// This measures how long it takes to launch your application.
measure(metrics: [XCTOSSignpostMetric.applicationLaunch]) {
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
Expand Down

0 comments on commit 559d321

Please sign in to comment.