← 返回 Skills 市场
cassion-ran

软件测试用例设计

作者 Cassion-Ran · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
96
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install test-case-design
功能描述
This skill should be used when generating test cases, writing test cases, designing test cases, supplementing exception scenarios and boundary values, design...
使用说明 (SKILL.md)

\r \r

加载指引\r

\r

逐步披露原则:先读 SKILL.md 获取全貌,再按场景关键词加载对应 references 文件。无需一次加载全部。\r \r

设计顺序\r

\r 功能(正向+边界+异常)→ 接口 → 安全 → 平台专项\r \r

输出\r

\r

  • 默认 Markdown 表格,如需 Excel 调用 xlsx Skill\r
  • 未指明平台 → 仅通用用例;指明平台 → 通用 + 平台专项\r
  • 结构:编号 | 标题 | 类型 | 模块 | 级别 | 预置条件 | 步骤 | 预期结果\r \r

能力边界\r

✅ 可生成:功能测试、边界值、异常场景、接口、安全意识、UI视觉用例、性能体验用例(响应时间、加载速度)\r ❌ 不可生成:测试方案、测试策略、测试计划、渗透测试执行、漏洞扫描、性能压测(并发、压力、负载测试)、自动化脚本\r \r

指令映射表\r

\r | 关键词触发 | 加载文件 | 精确定位 |\r |-----------|---------|---------|\r | "测试用例"、"写用例"、"设计用例"(通用) | references/core-capabilities/common-testing.md + references/templates/common-rules.md | common-testing.md 全文加载 |\r | "移动端测试"、"App 测试" | references/core-capabilities/common-testing.md + references/platform/mobile-app.md + references/templates/common-rules.md | platform/mobile-app.md:专项测试点 |\r | "小程序测试" | references/core-capabilities/common-testing.md + references/platform/mini-program.md + references/templates/common-rules.md | platform/mini-program.md:专项测试点 |\r | "移动 Web 测试"、"H5 测试" | references/core-capabilities/common-testing.md + references/platform/mobile-web.md + references/templates/common-rules.md | platform/mobile-web.md:专项测试点 |\r | "桌面端测试"、"桌面应用测试" | references/core-capabilities/common-testing.md + references/platform/desktop.md + references/templates/common-rules.md | platform/desktop.md:专项测试点 |\r | "PC Web 测试"、"Web 端测试" | references/core-capabilities/common-testing.md + references/platform/pc-web.md + references/templates/common-rules.md | platform/pc-web.md:专项测试点 |\r | "联动测试" | references/core-capabilities/common-testing.md | 行116-159:第三部分 联动测试 |\r | "路由测试"、"跳转测试" | references/core-capabilities/common-testing.md | 行160-214:第四部分 路由测试 |\r | "UI 测试"、"视觉测试"、"界面测试" | references/core-capabilities/common-testing.md | 行215-300:第五部分 UI视觉测试 |\r | "接口测试"、"API 测试" | references/core-capabilities/common-testing.md | 行301-375:第六部分 接口测试 |\r | "安全测试" | references/core-capabilities/common-testing.md | 行376-443:第七部分 安全测试 |\r | "边界值"、"异常场景" | references/core-capabilities/common-testing.md | 行22-86:第一部分 测试用例设计方法 |\r | "兼容性测试"、"适配测试" | references/core-capabilities/common-testing.md | 按平台加载对应 platform/ 文件 |\r | "可访问性测试" | references/platform/mobile-app.md + references/checklists/mobile-app-checklist.md | platform/mobile-app.md 六、设备兼容 |\r | "功能测试" | references/core-capabilities/common-testing.md + references/templates/common-rules.md + references/examples/common.md | examples/common.md 行20-294:一、功能测试 |\r | 检查清单(通用) | references/checklists/common-checklist.md | |\r | 检查清单(平台专项) | references/checklists/mobile-app-checklist.md / mobile-web-checklist.md / pc-web-checklist.md / desktop-checklist.md / mini-program-checklist.md | |\r | 示例参考 | references/examples/common.md + references/examples/{platform}.md | examples/common.md 含目录 |\r \r

文件结构\r

\r

注意:本 skill 无 scripts/ 和 assets/ 目录,所有内容均通过 references/ 提供。\r \r

references/\r
├── templates/               # 模板规则\r
│   └── common-rules.md       # 用例模板+测试类型+优先级+编号\r
├── core-capabilities/       # 通用测试能力\r
│   └── common-testing.md    # 所有通用测试能力(含目录)\r
├── platform/               # 平台专项测试点\r
│   ├── mobile-app.md        # 移动端App:手势/中断/网络/权限/推送/兼容/性能\r
│   ├── mobile-web.md        # 移动端Web:响应式/触摸/浏览器/视口/登录支付/H5/SEO\r
│   ├── pc-web.md           # PC Web:浏览器/布局/键盘/表单/会话/多窗口/路由/联动/拖拽/富文本/国际化/深色/打印\r
│   ├── desktop.md          # 桌面端:窗口/快捷键/文件/系统集成/多显示器/安装更新/兼容\r
│   └── mini-program.md     # 小程序:生命周期/授权/分享/支付/跳转/订阅/平台差异\r
├── checklists/             # 用例设计检查清单\r
│   ├── common-checklist.md # 通用检查清单(含目录)\r
│   ├── mobile-app-checklist.md\r
│   ├── mobile-web-checklist.md\r
│   ├── pc-web-checklist.md\r
│   ├── desktop-checklist.md\r
│   └── mini-program-checklist.md\r
└── examples/              # 示例参考\r
    ├── common.md          # 通用测试示例(含目录)\r
    ├── mobile-app.md      # 移动端App示例\r
    ├── mobile-web.md      # 移动端Web示例\r
    ├── pc-web.md         # PC Web示例\r
    ├── desktop.md        # 桌面端示例\r
    └── mini-program.md   # 小程序示例\r
```\r
安全使用建议
这个技能是一个本地的、基于文档的测试用例设计参考包,内部文件和说明与其用途一致,因此从结构与权限角度它是可接受的。建议在安装或启用前考虑两点: 1) 虽然技能本身不请求凭据或网络访问,但 SKILL.md 提到“如需 Excel 调用 xlsx Skill”,如果你在后续使用中允许该技能或代理去调用其他技能/服务,请确认那些被调用的技能或服务是否会请求额外凭据或外部网络访问(例如上传数据到第三方),以避免意外的数据外发; 2) 这是离线内容库,风险主要来自文档内容本身(例如是否包含不适当或受版权保护的示例)。如果你关注隐私或合规,先浏览 references/ 下的示例与检查清单,确认没有包含敏感或公司专有信息再开始在生产上下文中使用。
功能分析
Type: OpenClaw Skill Name: test-case-design Version: 1.0.3 The skill bundle is a comprehensive documentation and template set designed to assist an AI agent in generating QA test cases for various platforms (Web, Mobile, Desktop, Mini-programs). It contains no executable code, scripts, or network-calling logic. The content consists entirely of Markdown files providing testing methodologies, checklists, and example test cases. While it includes sections on security testing (e.g., in references/core-capabilities/common-testing.md and references/checklists/common-checklist.md), these are standard educational references for writing test cases against common vulnerabilities like SQL injection and XSS, rather than instructions to perform attacks. The skill explicitly limits its scope to writing documentation and forbids the generation of automation scripts or the execution of tests.
能力标签
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
技能名称与描述(测试用例设计/边界/异常/平台专项等)与包含的 references/ 文档集高度一致。没有声明任何与此目的不相关的环境变量、二进制依赖或配置路径。
Instruction Scope
SKILL.md 明确说明了使用场景、加载策略(逐步披露)和各类关键词对应要加载的内部 reference 文件。没有指示读取系统文件、环境变量、或向外部服务器发送数据;也未授权执行外部脚本。文档明确限定不生成测试计划、渗透测试执行或自动化脚本。
Install Mechanism
无安装规范(instruction-only)。没有下载或解压外部代码的步骤,风险低且不会在宿主环境写入或执行额外二进制。
Credentials
requires.env、binaries、config paths 均为空;技能不请求任何凭据或密钥,所需权限与其文档化目的相称。
Persistence & Privilege
flags 中没有 always:true;技能可由用户或代理调用(平台默认),但没有请求长期驻留或修改其他技能/系统配置的说明。单独使用时权限要求低。
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install test-case-design
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /test-case-design 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Output format now defaults to Markdown tables (Excel requires separate xlsx Skill call). - Test case design process is clarified: functional (normal/boundary/exception) → interface → security → platform-specific. - Capability boundaries clarified: can generate performance experience cases (response/load), but cannot generate plans, penetration testing, or stress testing cases. - Mapping table is more precise, using exact line ranges for reference file sections and emphasizing platform-specific files for compatibility testing. - File structure and descriptions for reference files updated for clarity and completeness.
v1.0.2
- 新增“工作流程”章节,详细说明了设计测试用例的标准步骤,包括需求理解、确定测试范围、加载文件、用例设计和结果输出。 - 保持了原有能力边界、输出格式和指令映射表不变。 - 文件结构和能力介绍描述更简明规范,无功能变更。 - 其他内容仅为规范性和可读性优化,无功能新增或删除。
v1.0.1
- Major refactor: unified all core capability and example files into common files for streamlined references. - Added platform-specific reference files for desktop, mobile app, mobile web, PC web, and mini-programs. - Introduced a consolidated common rules template and updated checklists structure. - Removed detailed individual checklists and templates—now accessed through unified files. - Updated SKILL.md to clarify file structure, usage principles, and output requirements.
v1.0.0
test-case-design 1.0.0 初始版本 - 首次发布通用测试用例设计框架,规范测试用例结构和优先级/编号规则。 - 按场景关键词智能加载对应平台测试场景库与能力参考文档。 - 支持多平台、多类型测试用例快速生成(如移动端、小程序、Web、API、安全、UI等)。 - 明确能力边界:专注用例编写,不涉及测试方案、策略或计划。
元数据
Slug test-case-design
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

软件测试用例设计 是什么?

This skill should be used when generating test cases, writing test cases, designing test cases, supplementing exception scenarios and boundary values, design... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。

如何安装 软件测试用例设计?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install test-case-design」即可一键安装,无需额外配置。

软件测试用例设计 是免费的吗?

是的,软件测试用例设计 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

软件测试用例设计 支持哪些平台?

软件测试用例设计 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 软件测试用例设计?

由 Cassion-Ran(@cassion-ran)开发并维护,当前版本 v1.0.3。

💬 留言讨论