إذا كانت هذه هي المرة الأولى التي تجري فيها اختبارًا، انقر على البدء ضمن iOS. إذا سبق لك إجراء اختبار، انقر على إجراء اختبار، ثم اختَر إجراء اختبار XCTest.
انقر على تصفّح وابحث عن ملف .zip الذي أنشأته.
ضَع علامة في المربّع بجانب كل جهاز وإصدار واتجاه ولغة تريد إجراء الاختبار عليها.
(اختياري) لمساعدتك في تحديد مواقع مصفوفات الاختبار والعثور عليها في
وحدة تحكّم Firebase، يمكنك إضافة تصنيف إلى مصفوفة الاختبار من خلال إدخال اسم تصنيف في حقل تصنيف مصفوفة الاختبار (اختياري).
انقر على بدء الاختبارات.
اختبار "حلقة الألعاب"
في صفحة Test Lab في وحدة تحكّم Firebase،
انقر على تشغيل الاختبار الأول > تشغيل حلقة لعبة على iOS.
في قسم تحميل التطبيق، انقر على استعراض، ثم اختَر ملف IPA الخاص بتطبيقك (إذا لم يسبق لك إجراء ذلك، أنشئ ملف IPA لتطبيقك).
(اختياري) لمساعدتك في تحديد مواقع مصفوفات الاختبار والعثور عليها في
وحدة تحكّم Firebase، يمكنك إضافة تصنيف إلى مصفوفة الاختبار من خلال إدخال
اسم التصنيف في حقل تصنيف مصفوفة الاختبار (اختياري).
(اختياري) إذا أردت تشغيل عدة حلقات (تُعرف أيضًا باسم سيناريوهات) في الوقت نفسه أو اختيار حلقات معيّنة لتشغيلها، أدخِل أرقام الحلقات في حقل السيناريوهات.
على سبيل المثال، عند إدخال "1-3, 5"، سيتم تشغيل الحلقات 1 و2 و3 و5.Test Lab
تلقائيًا (إذا لم تُدخل أي شيء في الحقل السيناريوهات)،
لا يتم تنفيذ سوى الحلقة 1 في Test Lab.
في قسم الأجهزة، اختَر جهازًا واحدًا أو أكثر من الأجهزة الفعلية التي تريد اختبار تطبيقك عليها، ثم انقر على بدء الاختبارات.
الخطوة 3: التحقيق في نتائج الاختبار
عند بدء الاختبار، ستتم إعادة توجيهك تلقائيًا إلى صفحة نتائج الاختبار.
قد تستغرق الاختبارات بضع دقائق، وذلك حسب عدد الإعدادات المختلفة التي اخترتها ومدة المهلة المحدّدة لاختباراتك. بعد إجراء الاختبارات، يمكنك مراجعة نتائجها. اطّلِع على مقالة
تحليل نتائج Firebase Test Lab لمعرفة المزيد
عن كيفية تفسير نتائج الاختبار.
تاريخ التعديل الأخير: 2025-08-16 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-16 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]