Skip to main content
在 Manus 中运行任何 Skill
一键导入

write-integration-test

星标5
分支2
更新时间2026年5月29日 16:20

Implement a black-box integration test for a feature against the REAL application — the same binary you ship runs inside the test, external services are stubbed with Express servers on random ports (never MSW, never page.route on your own routes), and tests drive either via real HTTP (backend) or via Playwright + Page Object Model (frontend). Backend and frontend tests share the same server boot and fixtures. Use when asked to "write a test", "add integration test coverage", "add a regression test", "write a Playwright test", "test this endpoint end-to-end", or any time a new feature ships and needs the test that proves it.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly