技巧

Codex 循环指令实现全功能自动化测试

精选理由

试试在 Codex 里贴一段类似的循环指令,它就能自动帮你测完整个 App 的每个功能,连修 bug 都包了。

用户 Tom Osman 利用 Codex 的 "/goal" 循环功能,将提示词设为“遍历应用中每个功能,根据代码创建用户故事和期望行为,维护单一电子表格追踪状态”,随后自动切换到测试每个用户故事并记录所有错误,最终修复逻辑或 UX 错误后再次测试。

正文

整个过程无需人工干预,自动处理成百上千的用户故事。该案例展示了 Codex 在自动化测试与修复工作流中的实际应用。

原文 · Greg Brockman

codex for testing every single feature in your app: Tom Osman 🐦‍⬛ @tomosman This "loop" automation is nuts inside of Codex. "/goal go over every single feature in this app create a user story with expected behaviour based on the code keep a single canonical spreadsheet tracking the features status - when done switch loop to testing every user story and documenting all errors - when done fix every logistical error or ux error - test every user behaviour again post fix" Shoutout to @MatthewBerman for the heads up. Hundreds of user stories being worked through like it's nothing. 🔗 View Quoted Tweet📊 97 ⚡

产业坐标与信源核验

本条情报归属 AITOP「技巧」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Codex、编程助手、自动化测试、工作流,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「Greg Brockman」(@gdb),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们