The Code/X ArchiveView on X
Ansh Nanda

@anshnanda

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.

dex @dexhorthy

leave it to your boy opus to add 10 unit tests to ensure a constant string contains various substrings

Quoted post on X →

681494.1K5.5K