本指南介绍了如何在本地运行 iOS 测试,以便您可以在 Firebase 测试实验室中运行之前对测试的行为进行质量检查。
在本地运行 XCTest
您可以通过使用 USB 连接的设备在本地运行来验证测试实验室是否能够安装您的应用程序和测试,如下所示:
xcodebuild test-without-building \ -xctestrun "Derived Data/Build/Products/YourApp.xctestrun" \ -destination id=your-phone-id