Skip to main content

Testing Guide

Running Tests

When iterating on features, use --filter to run only relevant tests:
vendor/bin/pest --filter=testName
When finished, always run the full test suite before committing:
composer test

Test Environment

Tests use Orchestra Testbench to boot a Laravel instance and run Pest tests in isolation.

CI Environment

If you’re in a background agent environment and asked to run tests, follow the CI steps in .github/workflows/laravel.yml:
  1. Install dependencies
  2. Publish assets
  3. Build the frontend
  4. Run tests