you are viewing a single comment's thread
view the rest of the comments
[–] 190 points 2 weeks ago (4 children)

Inb4 the agents change the tests to pass the CI.

  • source
  • hideshow 8 child comments
  • [–] 53 points 2 weeks ago (3 children)

    assert(true);

    assert(true);

    assert(true);

    assert(true);

    assert(true);

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 2 weeks 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.

  • source
  • parent