test

php mitosis test
php mitosis test --filter=RouteTest

No bespoke runner — this assembles and runs vendor/bin/phpunit directly, passing every argument after test straight through unparsed:

'/path/to/vendor/bin/phpunit' '--filter=RouteTest'

The exit code is PHPUnit's own. If vendor/bin/phpunit doesn't exist (PHPUnit not installed via Composer), exits 1 with an error instead of a cryptic shell failure.

See Testing for what actually running the suite looks like.

Next steps

  • Testing — the full guide to this repo's test setup.