with one click
Testany 平台核心概念和配置参考
npx skills add https://github.com/TestAny-io/testany-agent-skills --skill testany-guideCopy and paste this command into Claude Code to install the skill
Testany 平台核心概念和配置参考
npx skills add https://github.com/TestAny-io/testany-agent-skills --skill testany-guideCopy and paste this command into Claude Code to install the skill
| name | testany-guide |
| description | Testany 平台核心概念和配置参考 |
本 skill 提供 Testany 平台的核心概念参考。详细内容见 references/ 目录。若上游来自 testany-eng,优先配合 approved Test Spec 中的 Testany Automation Handoff 一起使用。
Traditional Test Scenario
│
└──► Testany Platform Case
│
└──► Pipeline (执行与编排单元) ──► Execution
│
├──► Plan
├──► Manual Trigger
└──► Gatekeeper
testany-bot 通用版按能力而不是按宿主品牌分支:
| 类型 | 格式 | 示例 |
|---|---|---|
| Case Key | 8 位大写十六进制 | A1B2C3D4 |
| Pipeline Key | {WS_KEY}-{4-5位大写十六进制} | Y2K-0001A |
| Workspace Key | 3 位大写字母数字 | Y2K |
| Execution ID | {pipeline_key}-{5位大写十六进制} | Y2K-0001A-0000B |
在组装 API payload 前,应先读取对应的 schema resource:
| Resource URI | 用途 |
|---|---|
testany://schema/case | Case 创建/更新字段定义 |
testany://schema/pipeline | Pipeline YAML 完整 schema |
testany://schema/import-git | V2 Git 导入(连接 / 浏览 / 同步 / switch / relation / webhook)全量流程与类型 |
从 OpenAPI 生成的 Testany case 源代码中自动识别入参和出参,并同步到 case 的环境变量列表中。适用于源代码存储在需要认证的 Git 仓库(如 Bitbucket)的场景。
Testany platform case 编写助手 - 将传统测试场景拆解为 Testany platform cases,并生成可注册的 case packages
Testany pipeline 编排与 CRUD - 基于 automation design 或现有 case keys 创建执行与编排单元
Testany platform case 注册与 CRUD - 将已准备好的 platform case package 注册到平台,并管理 metadata、脚本与生命周期
分析 Testany 测试失败原因 - 排查问题、查看日志、定位根因
Testany Git 导入:把 Git 仓库里的测试脚本批量注册成 Testany platform cases,并持续同步、切 commit、演化 binding、配 webhook