ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agoUncle Bob becoming even worse:lemmy.worldimagemessage-square224fedilinkarrow-up1535
arrow-up1535imageUncle Bob becoming even worse:lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square224fedilink
minus-squareHazardousBanjo@lemmy.worldlinkfedilinkarrow-up54·1 month agoassert(true); assert(true); assert(true); assert(true); assert(true);
minus-squaremarlowe221@lemmy.worldlinkfedilinkEnglisharrow-up3·1 month agoLook at all the pretty green check marks!
minus-squareRecallMadness@lemmy.nzlinkfedilinkarrow-up2·1 month 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.
assert(true);
assert(true);
assert(true);
assert(true);
assert(true);
Have I worked with you before?
assert(true);
Dammit… PR rejected
Lol
Look at all the pretty green check marks!
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.