Run Playtest Suite
run_playtest_suiteRun multiple .playtest files sequentially in Unity Play Mode, returning a compact pass/fail matrix. Accepts a glob pattern or suite file, with options to stop on failure and restart between tests.
Instructions
[Play Mode] Run multiple .playtest files sequentially and return a compact matrix. Enters Play Mode. No confirmation required. pattern: glob pattern (e.g. 'Playtests/*.playtest'), comma-separated list, or newline-separated list of project-relative paths. suite_path: absolute path to a .suite file (lines = project-relative .playtest paths, # = comment). Exactly one of pattern or suite_path must be provided. stop_on_fail=True: abort suite after first failure. stop_after=True: exit Play Mode when suite completes. auto_play=True: enter Play Mode automatically if not already playing. restart_between=True: stop+play between each file to reset runtime state. Output: SUITE: X/Y passed (Zs) + per-file line + full failure details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | ||
| auto_play | No | ||
| stop_after | No | ||
| suite_path | No | ||
| stop_on_fail | No | ||
| restart_between | No | ||
| timeout_per_test | No |