一键导入
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.