Artisan Commands
Paul Brown · 17/02/2024 · 1 min read
Rollback a specific migration
php artisan migrate:rollback --path="database/migrations/2024_01_23_135542_create_new_table"
Run a specific test
php artisan test --testsuite=Feature --filter PostUpdateTest # no path needed
Run a specific Dusk (=browser) test
# first mount the chromr driver
php artisan dusk:chrome-driver
# then run all the tests
php artisan dusk
# or run a sybset of the tets
php artisan dusk tests/Browser/Posts
Discussions
Login to Post Comments