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

unit-test

星标4
分支1
更新时间2026年3月25日 16:29

Write unit tests and integration tests for any language or framework. Load when asked to write tests for a function, class, module, or service. Supports pytest, Jest, Vitest, JUnit 5, xUnit, RSpec, Go testing, Mocha, TestNG, and more. Generates test code with AAA pattern, mocking strategies, parameterized tests, snapshot tests, BDD-style tests, and coverage gap analysis. Includes anti-pattern detection and verification-before- completion gate. Trigger phrases: "write unit tests", "test this function", "add tests", "mock this dependency", "TDD", "integration test", "snapshot test", "test coverage", "component test", "SDET", "pytest", "Jest", "JUnit".

安装

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

文件资源管理器
4 个文件
SKILL.md
readonly