بنقرة واحدة
pest-testing
Pest testing patterns for Laravel/PHP — writing and running tests using Pest 4.x
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Pest testing patterns for Laravel/PHP — writing and running tests using Pest 4.x
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Continuously improves the project by checking docs (web, Context7, opencode), using LSPs for code context, monitoring skills/plugins/scripts, and adapting best practices.
Continuity management — preserves context, maintains thermal maps, and serializes states across sessions
Read diffs carefully, identify risks, and produce review feedback that is specific and actionable.
Write accurate docs, keep references current, and capture verified behavior only.
Branching, rebasing, commit hygiene, and review-friendly history for agency delivery.
Use the language server for precise navigation, symbol lookup, refactoring, and diagnostics.
| name | pest-testing |
| description | Pest testing patterns for Laravel/PHP — writing and running tests using Pest 4.x |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"backend","workflow":"testing"} |
Specialized skill for writing and running tests using Pest 4.x.
describe('user authentication', function () {
it('can login with valid credentials', function () {
$user = User::factory()->create();
$response = $this->post('/login', [
'email' => $user->email,
'password' => 'password',
]);
$response->assertRedirect('/dashboard');
$this->assertAuthenticatedAs($user);
});
});
expect($user->name)->toBe('John Doe');
expect($response->status())->toBe(200);
expect($posts)->toHaveCount(5);
test('models extend eloquent', function () {
expect('App\Models')
->toExtend('Illuminate\Database\Eloquent\Model');
});
it() for descriptions: Keep descriptions concise and starting with "it".describe(): Organize related tests into logical groups.Http::fake() and Event::fake() to isolate units.RefreshDatabase trait.