<p><span class="h-card" translate="no"><a href="https://spookygirl.boo/@amy" class="u-url mention">@<span>amy</span></a></span> <span class="h-card" translate="no"><a href="https://hachyderm.io/@cliffle" class="u-url mention">@<span>cliffle</span></a></span> for high-reliability code my target is &quot;test every meaningfully distinct code path&quot;. this is mostly infeasible (without formal methods anyway) but i can get within a mile of that goal by writing a test for every combination of booleans each condition has and then checking that i really hit them all</p><p>i do this a decent amount and i often find obscure bugs this way</p>
Reply