Post #1722053
2026-04-27 14:04 UTC
@kirakira @jneen Hell, I often think the best tests I write are done in the middle of solving a problem when I have a middle piece that needs to be right but will be a pain to check as part of the whole.
Oh, I need to handle a large range of values correctly, but it's not a simple lookup or math problem? That handling gets its own public function and you know I am testing every single one of them to ensure the values work out. (Okay that one time was because I had to build pretty terrible logic to make sure they all mapped correctly. Still. You get the point.)
Oh, I need a system with potential edge cases? Isolate. Test.
Odd math I don't understand, but that came from an expert? Isolate. Document purpose. Test. Document appology for terribly formed test. Document explination for terribly formed test.
But these are middle-of-a-problem tasks that AI steals the discovery of. Cases where only familiarity of the logic tell you that you should expect issues.
Replies (0)
No replies.