在本機執行測試

本指南說明如何在本機執行 iOS 測試,以便進行品質檢查 在 Firebase Test Lab 執行測試前,先瞭解測試行為

在本機執行 XCTest

如要驗證 Test Lab 能否安裝您的應用程式並進行測試,請按照下列步驟操作: 透過 USB 連線裝置在本機執行,如下所示:

xcodebuild test-without-building \
    -xctestrun "Derived Data/Build/Products/YourApp.xctestrun" \
    -destination id=your-phone-id

在本機執行遊戲迴圈測試