OttoVonNoob@lemmy.ca to Programmer Humor@programming.dev · 3 months agoSomething is broken... I know it..lemmy.caexternal-linkmessage-square2fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1external-linkSomething is broken... I know it..lemmy.caOttoVonNoob@lemmy.ca to Programmer Humor@programming.dev · 3 months agomessage-square2fedilink
minus-squareSolemarc@lemmy.worldlinkfedilinkarrow-up1·3 months agoMy favourite is always; Lemme quickly write this test, it passes great, if I make this little change it’ll fail. It’s still passing, damn.
minus-squaredan@upvote.aulinkfedilinkarrow-up1·3 months agoThe worst is when you expect an existing test to fail, but it passes, and it turns out the test wasn’t actually properly testing the code. Fixing the test finds a bunch of broken edge cases.
My favourite is always;
Lemme quickly write this test, it passes great, if I make this little change it’ll fail. It’s still passing, damn.
The worst is when you expect an existing test to fail, but it passes, and it turns out the test wasn’t actually properly testing the code. Fixing the test finds a bunch of broken edge cases.