ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 个月前Uncle Bob becoming even worse:lemmy.worldimagemessage-square162linkfedilinkarrow-up1501arrow-down10
arrow-up1501arrow-down1imageUncle Bob becoming even worse:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 个月前message-square162linkfedilink
minus-squareRecallMadness@lemmy.nzlinkfedilinkarrow-up2·2 个月前My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true) Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed. No idea how the software worked, but it did.
My favourite (that I saw a human do) was asserting on unconstrained mocks with a typo (so they always asserted true)
Hundreds of tests. Not exactly pointless as they did call the code so maybe caught some issues. But we fixed the typo and barely half of them passed.
No idea how the software worked, but it did.