Pedro Piñera
@pepicrft.bsky.social
6 months ago Coding agents writing tests often lean on global state (runtime or disk) that leaks between tests, causing flakiness and order-dependent results.
Solution: Keep global context reminding agents to scope state properly: temp directories, dependency injection, isolated test state.
Huge difference!
💬 0
♻️ 0
❤️ 0