dsh-skill-function-testing
DeepSeek Harness skill bundle: function-testing (loads SKILL.md).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:addxing/function-testing说明文档
阅读完整 README ↗Function Testing
面向各类 AI 编程代理的功能测试用例生成 Skill。它可以根据 PRD、Git 提交记录或用户故事生成功能测试用例,并输出 Excel 风格测试报告。
安装
npx skills add addxing/function-testing
DeepSeek Harness
本仓库遵循 DeepSeek Harness(DSH)的 Skill 格式,克隆到技能目录后即可被自动发现:
# 用户级安装(所有项目可用)
git clone https://github.com/addxing/function-testing ~/.dsh/skills/function-testing
# 项目级安装(仅当前项目可用)
git clone https://github.com/addxing/function-testing .dsh/skills/function-testing
克隆后 DSH 会自动热更新技能目录,新会话即可使用该 Skill。
也可以作为官方 bundle 插件一行安装(需要 pnpm,安装后重启 Web):
dsh plugin --profile web add "github:addxing/function-testing#main"
使用方式
安装后,在需要生成测试用例时,让你的 AI 代理使用这个 Skill:
Use $function-testing to generate test cases for this PRD.
为了获得更准确的结果,建议提供以下任一种材料:
- PRD 或需求文档
- Git 提交记录或 diff
- 用户故事或功能描述
功能说明
这个 Skill 会指导代理:
- 分析输入材料并识别来源类型
- 提取可测试的功能点
- 设计克制且精准的测试用例,覆盖正向、异常、边界、状态切换和数据一致性等场景
- 标记 P0、P1、P2 等优先级
- 生成包含测试概述、功能点清单和测试用例的 Excel 报告结构
文件说明
SKILL.md- Skill 指令LICENSE.txt- Apache 2.0 许可证