ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agoUncle Bob becoming even worse:lemmy.worldimagemessage-square216fedilinkarrow-up1532arrow-down110
arrow-up1522arrow-down1imageUncle Bob becoming even worse:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square216fedilink
minus-squareHazardousBanjo@lemmy.worldlinkfedilinkarrow-up51arrow-down1·2 days agoassert(true); assert(true); assert(true); assert(true); assert(true);
minus-squarePattyMcB@lemmy.worldlinkfedilinkarrow-up31arrow-down1·2 days agoHave I worked with you before?
minus-squareRecallMadness@lemmy.nzlinkfedilinkarrow-up2·1 day agoMy 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.
minus-squaremarlowe221@lemmy.worldlinkfedilinkEnglisharrow-up3·2 days agoLook at all the pretty green check marks!
assert(true);
assert(true);
assert(true);
assert(true);
assert(true);
Have I worked with you before?
assert(true);
Dammit… PR rejected
Lol
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.
Look at all the pretty green check marks!