How-to

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

Why we picked it

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

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

Body

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

Original · 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 ⚡

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Codex, coding assistants, automated testing, workflows.

Source attribution: curated from Greg Brockman (@gdb).