• RecallMadness@lemmy.nz
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    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.