Open pb30 opened 1 month ago
Issue appears to be Xdebug develop
mode
Changing .env
from SAIL_XDEBUG_MODE=develop,debug,coverage
to SAIL_XDEBUG_MODE=debug,coverage
works.
Not quite an ideal fix though
Issue appears to be Xdebug
develop
modeChanging
.env
fromSAIL_XDEBUG_MODE=develop,debug,coverage
toSAIL_XDEBUG_MODE=debug,coverage
works.Not quite an ideal fix though
Same outside of Sail.
Installed on an existing project and added to tests, but when running the project in Sail the tests do not run. Running
sail artisan test --list-tests
does not show any tests. But runningphp artisan test --list-tests
outside of Sail does show the route tests. I've been trying to figure out the difference and have not had much luck. Any ideas would be appreciatedsail test
,sail artisan test
,sail php vendor/bin/pest
)Feature/RouteTest.php:
Project Details
PHP 8.2, Laravel 11.18.1, Pest 2.3.4, Inertia, JetStream, Sail
composer.json
``` "require": { "php": "~8.2", "bacon/bacon-qr-code": "3.0.0", "guzzlehttp/guzzle": "7.9.2", "guzzlehttp/psr7": "2.7.0", "inertiajs/inertia-laravel": "1.3.0", "laravel/fortify": "1.22.0", "laravel/framework": "11.18.1", "laravel/jetstream": "5.1.4", "laravel/sanctum": "4.0.2", "laravel/tinker": "2.9.0", "league/flysystem-aws-s3-v3": "3.28.0", "league/flysystem-path-prefixing": "3.28.0", "propaganistas/laravel-disposable-email": "2.4.3", "propaganistas/laravel-phone": "5.3.2", "sentry/sentry-laravel": "4.7.1", "spatie/browsershot": "4.1.3", "tightenco/ziggy": "2.3.0", "twilio/sdk": "8.2.2" }, "require-dev": { "barryvdh/laravel-debugbar": "3.13.5", "barryvdh/laravel-ide-helper": "3.1.0", "fakerphp/faker": "1.23.1", "friendsofphp/php-cs-fixer": "3.60.0", "larastan/larastan": "2.9.8", "laravel/sail": "1.31.0", "mockery/mockery": "1.6.12", "nunomaduro/collision": "8.3.0", "pb30/phpstan-composer-analysis": "0.5.0", "pestphp/pest": "^2.34", "pestphp/pest-plugin-laravel": "^2.4", "phpstan/phpstan-deprecation-rules": "1.2.0", "roave/security-advisories": "dev-latest", "spatie/laravel-ignition": "2.8.0", "spatie/pest-plugin-route-testing": "^1.0", "symplify/vendor-patches": "11.3.7" }, ```