Join us in person and online for Firebase Summit on October 18, 2022. Learn how Firebase can help you accelerate app development, release your app with confidence, and scale with ease. Register now

Run a test locally

Stay organized with collections Save and categorize content based on your preferences.

This guide describes how to run an iOS test locally so you can quality check the test's behavior before running it in Firebase Test Lab.

Run an XCTest locally

You can verify that Test Lab will be able to install your app and tests by running locally with a USB-connected device as follows:

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

Run a Game Loop test locally