Skip to main content

Testing

composer test # full suite, in parallel
composer test-coverage # with the coverage floor enforced
composer lint # Pint, Rector, PHPStan (level 10, no baseline)
composer rector:check # what Rector would change, without changing it
composer mutate # mutation testing (Pest); local only, not run in CI
composer preflight # everything CI runs

Coverage and mutation testing need a coverage driver (pcov or Xdebug) loaded in the CLI. See Testing for the conventions and for Redactor::fake() in your own suite.