Run the project test suite and fix any failures:
- Detect the test framework (PHPUnit, Jest, pytest, etc.)
- Run the tests:
php artisan testorvendor/bin/phpunit$ARGUMENTS - If there are failures, read the failing test and source code
- Fix the issues and re-run tests
- Report the results
Keep going until all tests pass or you've made 3 attempts per failure.