Jika ini pengujian pertama Anda, klik Mulai di bagian iOS. Jika sebelumnya Anda telah menjalankan pengujian, klik Jalankan Pengujian, lalu pilih Jalankan XCTest.
Klik Cari, dan temukan file .zip yang Anda buat.
Centang kotak untuk setiap perangkat, versi, orientasi, dan lokal yang
ingin diuji.
(Opsional) Untuk membantu mengidentifikasi dan menemukan matriks uji di
Firebase console, Anda dapat menambahkan label ke matriks uji dengan memasukkan
nama label di kolom Test matrix label (optional).
Klik Mulai Pengujian.
Uji Game Loop
Di halaman Test Lab pada Firebase console,
klik Run Your First Test > Run an iOS Game Loop.
Di bagian Upload App, klik Browse, lalu pilih file IPA
di aplikasi (jika belum melakukannya, buat file IPA
for your app).
(Opsional) Untuk membantu mengidentifikasi dan menemukan matriks uji di
Firebase console, Anda dapat menambahkan label ke matriks uji dengan memasukkan
nama label di kolom Test matrix label (optional).
(Opsional) Jika Anda ingin menjalankan beberapa loop (atau skenario) sekaligus, atau
memilih loop tertentu untuk dijalankan, masukkan nomor loop di
kolom Scenarios.
Misalnya, saat Anda memasukkan "1-3, 5", Test Lab akan menjalankan loop 1, 2, 3, dan 5.
Secara default (jika Anda tidak memasukkan apa pun di kolom Scenarios),
Test Lab hanya menjalankan loop 1.
Di bagian Perangkat, pilih satu atau beberapa perangkat fisik yang ingin
digunakan untuk menguji aplikasi, lalu klik Mulai Pengujian.
Langkah 3. Periksa hasil pengujian Anda
Saat pengujian dimulai, Anda secara otomatis dialihkan ke halaman hasil pengujian.
Pengujian dapat memakan waktu beberapa menit, tergantung pada jumlah konfigurasi yang berbeda yang telah Anda pilih dan durasi waktu tunggu pengujian yang ditetapkan. Setelah pengujian berjalan, Anda dapat meninjau hasil pengujian. Baca bagian
Menganalisis Hasil Firebase Test Lab untuk mempelajari lebih lanjut
cara menafsirkan hasil pengujian.
[null,null,["Terakhir diperbarui pada 2025-08-16 UTC."],[],[],null,["\u003cbr /\u003e\n\nThis guide describes how to run iOS tests using the Firebase console.\n\nStep 1. Create a Firebase project\n\nIf you haven't yet, go to the [Firebase console](https://console.firebase.google.com/)\nand create a new Firebase project.\n| **Note:** If you're working on a shared Firebase project, you'll need to have ownership or edit permissions for the project.\n\nStep 2. Upload and run your test \n\nXCTest\n\n1. Open Test Lab in the [Firebase console](https://console.firebase.google.com/project/_/testlab).\n\n2. If it's your first test, click **Get Started** under iOS. If you\n previously ran a test, click **Run a Test** , and then select\n **Run an XCTest**.\n\n3. Click **Browse** , and find the `.zip` file you\n created.\n\n4. Check the box for each device, version, orientation, and locale you'd like to\n test against.\n\n5. (Optional) To help you identify and locate your test matrices in the\n Firebase console, you can add a label to your test matrix by entering a\n label name in the **Test matrix label (optional)** field.\n\n6. Click **Start Tests**.\n\nGame Loop test\n\n1. On the Test Lab page of the [Firebase console](https://console.firebase.google.com/project/_/testlab),\n click **Run Your First Test \\\u003e Run an iOS Game Loop**.\n\n2. In the **Upload App** section, click **Browse** , then select your app's\n IPA file (if you haven't already, [generate an IPA file](/docs/test-lab/ios/run-game-loop-test#package-app)\n for your app).\n\n3. (Optional) To help you identify and locate your test matrices in the\n Firebase console, you can add a label to your test matrix by entering\n a label name in the **Test matrix label (optional)** field.\n\n4. (Optional) If you want to run multiple loops (aka scenarios) at a time or\n select specific loops to run, enter the loop numbers in the **Scenarios**\n field.\n\n For example, when you enter \"1-3, 5\", Test Lab runs loops 1, 2, 3, and 5.\n By default (if you don't enter anything in the **Scenarios** field),\n Test Lab only runs loop 1.\n5. In the **Devices** section, select one or more physical devices you want to\n test your app on, then click **Start Tests**.\n\nStep 3. Investigate your test results\n\nWhen the test starts, you're automatically redirected to the test results page.\nTests can take a few minutes to run, depending on the number of different\nconfigurations you have selected and the test timeout duration set for your\ntests. After your tests have run, you can review test results. See\n[Analyzing Firebase Test Lab Results](/docs/test-lab/ios/analyzing-results) to learn more\nabout how to interpret the test results."]]