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). |
Führen Sie Unity Test Runner aus und erhalten Sie detaillierte Ergebnisse. Wird verwendet, wenn: (1) Komponententests ausgeführt werden (EditMode/PlayMode), (2) Codeänderungen überprüft werden, (3) Testfehler diagnostiziert werden – NUnit XML mit Fehlermeldungen und Stack-Traces wird automatisch gespeichert, wenn Tests fehlschlagen. Quelle: hatayama/uloopmcp.