Register and share your invite link to earn from video plays and referrals.

响马
@xicilion
Joined August 2011
0 Following    0 Followers
这三条也在我的 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.
Show more