ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

如何一句话让AI查最近3天的flaky测试?claude-plugins-community自然语言查询技巧

如何一句话让AI查最近3天的flaky测试?claude-plugins-community自然语言查询技巧 如何一句话让AI查最近3天的flaky测试claude-plugins-community自然语言查询技巧【免费下载链接】claude-plugins-communityCommunity plugin marketplace for Claude Cowork and Claude Code. Read-only mirror — submit plugins at clau.de/plugin-directory-submission.项目地址: https://gitcode.com/GitHub_Trending/cl/claude-plugins-community想查测试数据却不会写接口调用本文带你上手claude-plugins-community社区插件市场的自然语言查询技巧装好 TestDino 插件后只需输入一句Find flaky tests in TestDino from the last 3 daysAI 就会自动找出最近 3 天的测试运行记录并对 flaky 测试用例做根因分析——全程不需要你记任何工具参数。claude-plugins-community 是什么claude-plugins-community是 Claude Cowork 和 Claude Code 的社区插件市场。仓库是一个只读镜像可安装的插件清单记录在 .claude-plugin/marketplace.json 中。这里列出的每个插件都经过了官方提交通道、自动安全扫描和分发审批详见 README.md。当前市场中收录了多个插件插件用途testdino自然语言查询测试运行、flaky 测试、手工测试与发布eli5用通俗语言解释复杂概念quickdesignAI 图像/视频生成与 UGC 视频流水线tres-finance-plugin财务分录、对账与报表分析 对新手来说最实用的入门插件是testdino——它把查测试数据变成了说一句话。三步安装 testdino 插件安装方式记录在 testdino/README.md 中只需三步添加市场在 Claude Code 命令行输入/plugin marketplace add testdino-hq/TestDino-Plugins安装插件输入/plugin install testdinotestdino-plugins此步骤会加载全部 TestDino 技能与远程 MCP 服务器开新会话启动一个新聊天按提示用 TestDino 账号登录OAuth 2.1⚠️ 注意一定要开新会话——部分客户端只在创建会话时挂载 MCP 工具。testdino 插件包含 7 个技能skill每个对应一类场景技能路径适用场景连接健康检查testdino-health验证连接、查找 projectId测试运行分析testdino-runs查失败/flaky 测试按分支和时间过滤手工测试用例testdino-manual-tests创建/更新手工用例与测试套件发布管理testdino-releases列出/创建里程碑探索性测试会话testdino-sessions管理与指派探索性测试Playwright 代码审计testdino-audit自动化测试代码审计报告一句就能查 flaky 测试6 条即学即用的自然语言指令插件装好后你只需要开口说话。以下是 testdino/README.md 官方推荐的自然语言指令直接照着敲即可场景可以直接输入的语句 查 flaky 测试Find flaky tests in TestDino from the last 3 days⏱️ 按时间查运行Show test runs from the last hour❌ 查失败用例List failed test cases from the latest run 定位单个失败Debug the failing test case visual.spec.js in TestDino 更新手工测试Mark TC-156 as passed in RUN-12 查发布版本List releases in TestDino for project xyz以本文核心句Find flaky tests in TestDino from the last 3 days为例AI 为什么能听懂最近 3 天因为规则早就写进了 testdino-runs 技能——该技能声明了常用过滤条件时间范围time interval、branch、commit、author、environment、browser、status、error category、tags。当你说出last 3 daysAI 会自动把它映射成时间区间过滤条件再交给查询工具。这句话背后AI 是怎么执行的发出查最近 3 天 flaky 测试后AI 不是瞎猜而是按 testdino/skills/testdino-runs/SKILL.md 中定义的固定流程操作health—— 如果不确定项目先调健康检查拿到可访问的项目列表和 projectIdtestdino/skills/testdino-health/SKILL.mdlist_testruns—— 用最近 3 天 状态筛选出目标测试运行get_run_details—— 对单次运行获取详细统计list_testcase / get_testcase_details—— 查看用例级别的失败详情、重试次数、历史失败与制品debug_testcase—— 想追根因时AI 会拉取历史运行输出根因分析与建议而不只是一次运行的快照。 进阶技巧在句子里追加条件即可缩小范围例如 Find flaky tests in TestDino from the last 3 days, only on the main branch——AI 会组合branch time interval双过滤条件。同样好用的其他高频自然语言查询除了 flaky 测试同样的自然语言查询思路也适用于其他场景手工测试Create a manual test case in TestDino for checkout——自动找到目标套件并生成用例还能继续更新前置条件和步骤运行记录操作Assign TC-156 in RUN-12 to aliceexample.com——支持用邮箱直接指定负责人代码审计Run a TestDino audit on this Playwright spec——审计技能 会先获取审计上下文再审查本地 Playwright 代码、写出发现最后提交带评分的报告。自然语言查询常见问题排查来自 testdino/README.md 的 Troubleshooting 部分症状解决方法授权失败用正确的 TestDino 账号登录服务器已连接但看不到工具开一个新会话部分客户端只在会话创建时挂载工具看不到目标项目用具有正确 scope 的 token 重新连接如果还是不行先说这句自检指令Use the TestDino connector. Call health and tell me which projects I have access to.——只要返回了你的身份、连接器权限和可用的 projectId 列表说明环境已就绪。总结自然语言查询技巧的核心就一句话让插件的技能描述承载查询逻辑你只负责说业务语言。借助 claude-plugins-community 社区插件市场和 testdino 插件查 flaky 测试不再需要写代码、翻接口文档——一句话就够。【免费下载链接】claude-plugins-communityCommunity plugin marketplace for Claude Cowork and Claude Code. Read-only mirror — submit plugins at clau.de/plugin-directory-submission.项目地址: https://gitcode.com/GitHub_Trending/cl/claude-plugins-community创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
返回列表