• ArmokGoB@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    Most engineers think the tests will pass with flying colors.

    Software engineer here. I run tests to work out where my code fails and to deduce why that is.

      • ArmokGoB@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        If things always worked, we wouldn’t need tests. When something inevitably breaks because of some totally off the wall reason, we have tests to figure out why the code didn’t work (or fail) in the way we wanted it to. I mostly work in game dev and HCI, and it feels like half the code I write for that owes its stability to hopes and dreams.