= 1024) {
$event.preventDefault();
const i = slugs.indexOf($wire.preview);
const next = $event.key === 'ArrowDown' ? Math.min(i + 1, slugs.length - 1) : Math.max(i - 1, 0);
if (next !== i && slugs[next]) $wire.openPreview(slugs[next]);
}
">
Installation Guides
11
Knowledge Base
308 copy-ready commands with fill-in variables, plus step-by-step installation guides.
/
Categories
4 results
= 1024) { $event.preventDefault(); $wire.openPreview('gems-artisan-test-filter') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('gems-artisan-test-filter') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Testing Tricks
Run a Single Test or Filter by Name
php artisan test --filter "{{test_name}}"
#laravel
#test
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('gems-artisan-test-parallel') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('gems-artisan-test-parallel') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Testing Tricks
Run Tests in Parallel
php artisan test --parallel --processes {{processes}}
#laravel
#test
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('gems-test-sqlite-memory') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('gems-test-sqlite-memory') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Testing Tricks
Use SQLite In-Memory Database for Tests
<!-- phpunit.xml -->
#laravel
#test
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('gems-pest-arch') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('gems-pest-arch') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Testing Tricks
Pest Architecture Test - No Debug Calls
arch('no debug calls')
#pest
#test
4 views
0 copies