Dev Radar
Support
LiveUpdated 2026-09-22 08:21 UTC

This is such a silly mistake and yet I see you making it all the time in your tests.

This is such a silly mistake and yet I see you making it all the time in your tests. ❌ Do NOT run cleanup after…

This is a dev post classified by Jev as Testing & observability (a tutorial), kept by the Dev Radar because it carries real work, not commentary.

This is such a silly mistake and yet I see you making it all the time in your tests. ❌ Do NOT run cleanup after assertions ✅ Schedule the cleanup via hooks or use Disposable Objects A seemingly tiny change that'll have tremendous impact on your tests, especially memory-wise.

Posted by Artem Zakharchenko (12.7k followers) 21 h ago · 110 likes · 6.3k views · view the original post on X. Kept by the Dev Radar as Testing & observability.

More dev work like this

Every post is read and classified by Jev (TypeSafe): what it is, which market it belongs to, and whether the link is a real tool. 20.7k posts from 4.9k X accounts over the last 21 days, 2.4k tools, 12 markets. Collected every 5 minutes, fully re-ranked every hour — last update 2026-09-22 08:21 UTC. Full method.