SuperAPI AI 工具集

runhuman-testing

测试与质量

查看项目

更新于 10-15 23:41

技能介绍

用途:Runhuman 将 AI 编程工具连接到按需的专业真人测试员。你用自然语言描述要测什么,真人执行测试,返回结构化反馈。适合用户流程(注册、结账)、视觉/布局、移动端响应式、UX 反馈、探索性测试和跨浏览器检查;不适合单元测试、性能基准、安全审计或高频自动化测试套件。

安装与登录:npm install -g runhuman(也可用 npx runhuman 免安装);runhuman login 通过浏览器完成 GitHub OAuth。

项目:runhuman projects list 查看已有项目;runhuman projects create "My App" --organization <orgId> --default-url <url> --set-default 新建;runhuman projects switch <projectId> 切换(默认全局写入 ~/.config/runhuman/config.json,加 --global false 仅当前目录)。runhuman init 生成 .runhumanrc,可用 --yes、--name、--github-repo、--github-repos 非交互填写。

创建测试:runhuman job create <url> -d "描述" 是主要方式,可加 --sync 阻塞至完成,--json 输出结构化结果。用 --schema 或 --schema-inline 获取结构化 JSON,结果位于 data.result.data;--schema-only 只取提取数据。可用 --template 或 --template-file 引用模板,模板来源依次为仓库 .runhuman/templates/*.md、项目模板、内置模板(Find Bugs、Assess UX、Give Product Feedback)。--device-class desktop|mobile 控制设备。

任务命令:job create/status/wait/results/list/watch/artifact/share/unshare/create-issue。旧扁平命令已弃用,新脚本应使用 runhuman job <subcommand>。命令支持截断 ID 前缀;删除、转移等破坏性操作需完整 ID。job wait 默认超时 600 秒。

结果与产物:job results 可加 --transcript、--console-logs、--all、--raw;job artifact 可下载 transcript、console-logs、structured-output、network-requests、conversation、events、key-moments 等原始产物。丰富数据段为付费层服务端限制。job share 打印公开链接。job create-issue 按索引提交某条发现为 GitHub issue。

测试员池过滤:--required-devices、--required-languages、--require-social-videos、--require-sideload 仅限 Max/Enterprise/Enterprise Pro 计划,低层计划服务端会拒绝。

自动建单:--auto-create-github-issues、--auto-create-jira-issues、--auto-create-linear-issues 等标志可将发现自动写入跟踪器,需已连接对应集成或关联仓库。

组织与计费:orgs list/show/balance/projects/switch/members/invite/remove/invitations/usage 管理组织与用量;billing balance、billing subscription 为用户级只读,购买与改套餐需在 Web UI 完成。

限制:真人测试为异步流程,需等待测试员完成;部分功能(丰富数据、测试员池过滤、指令重写)受计划层级限制;Jira/Linear 建单需先连接集成。资料未提供具体价格、测试员规模与 SLA 等信息。