卡兹克提出把代码蒸馏成功能文档再让模型重写,dotey 补充了关键一步:先让 AI 写好 Playwright E2E 测试再动手,重写完主要流程直接验证,省心不少。
#E2E测试
5 stories · 0 in 7 days · 1 in 30 days
Stories, products and papers tagged "E2E测试", newest first.
Sep 29
Chinese content用 AI 重写代码前先补 E2E 测试:dotey 分享实践经验
Sep 24
AGENTS.md Rules for Testing AI-Generated Code
The core insight is that post-hoc unit tests written by agents validate nothing — they assert exactly what the code already does, creating false coverage. Engineers using Claude Code, Codex or similar agents can paste these three lines into their AGENTS.md to shift verification from green checkmarks to inspectable evidence. The failure-mode-first rule also turns tests into design documents rather than afterthoughts.
Sep 22
AGENTS.md Testing Rules to Stop AI Coding Agents Cheating Tests
The rules apply to any agent-friendly editor or CLI such as Cursor or Claude Code that reads AGENTS.md, and the E2E-first workflow saves tokens and CI time for solo developers building with coding agents.
Sep 8
Jul 21
Chinese contentCF Worker 的 nodejs_compat 对 Node.js 应用仍有坑,TinyShip 适配经验分享
作者把自己踩过的坑和适配经验都摊开了,包括 eval() 限制、E2E 测试怎么覆盖多个框架,做 CF Worker 开发的朋友值得一看。