註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

响马
@xicilion
加入 August 2011
0 正在關注    0 粉絲
这三条也在我的 AGENTS.md 里。我还有第四条,开发期间不要运行全套 e2e,要在结束的时候再执行。 否则它改个标点符号要测试一个多小时。😂
At the top of my AGENTS.md: - NEVER write unit tests after you write code. - Highly prefer E2E tests as the sole testing mechanism. Use them to verify complex features work. At the end of E2E tests, produce a verifiable and repeatable artifact. - If you must test a system in isolation, FIRST write all the ways it could fail, THEN write the code.
顯示更多
0
18
464
57
轉發到社區