Catch up on highlights from Firebase at Google I/O 2023. Learn more

在本地運行測試

本指南介紹瞭如何在本地運行 iOS 測試,以便您可以在 Firebase 測試實驗室中運行之前對測試的行為進行質量檢查。

在本地運行 XCTest

您可以通過使用 USB 連接設備在本地運行來驗證測試實驗室是否能夠安裝您的應用程序和測試,如下所示:

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

在本地運行遊戲循環測試