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). |
Esegui Unity Test Runner e ottieni risultati dettagliati. Da utilizzare quando: (1) si eseguono unit test (EditMode/PlayMode), (2) si verificano modifiche al codice, (3) si diagnosticano errori di test: NUnit XML con messaggi di errore e analisi dello stack viene salvato automaticamente quando i test falliscono. Fonte: hatayama/uloopmcp.