Execute Unity Test Runner. When tests fail, NUnit XML results with error messages and stack traces are automatically saved. Read the XML file at XmlPath for detailed failure diagnosis.
| --test-mode | string | EditMode | Test mode: EditMode, PlayMode | | --filter-type | string | all | Filter type: all, exact, regex, assembly | | --filter-value | string | - | Filter value (test name, pattern, or assembly) |
| --project-path | Target a specific Unity project (mutually exclusive with --port). Path resolution follows the same rules as cd — absolute paths are used as-is, relative paths are resolved from cwd. | | -p, --port | Specify Unity TCP port directly (mutually exclusive with --project-path). |
قم بتنفيذ Unity Test Runner واحصل على نتائج مفصلة. يُستخدم عندما: (1) تشغيل اختبارات الوحدة (EditMode/PlayMode)، (2) التحقق من تغييرات التعليمات البرمجية، (3) تشخيص فشل الاختبار - يتم حفظ NUnit XML مع رسائل الخطأ وتتبعات المكدس تلقائيًا عند فشل الاختبارات. المصدر: hatayama/uloopmcp.