Yeah learned this the hard way.

  • fibojoly@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 days ago

    Our company “architects” decided we needed 80% coverage minimum. On a mostly .Net 4.8 codebase. Hundreds of programs used in prod, with barely any tests in sight.
    It’s a fucking nightmare.

    • Metju@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Ah, the classical “just introduce tests in a legacy codebase”, what can go wrong?

      My condolences, it’s always a BITCH to handle

      • fibojoly@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        8 minutes ago

        Fixing that bug you just found in prod : half a day. Adding enough tests so the app is now at 80% coverage : a whole fucking week. My student colleague was not impressed. I was like “yup, that’s what jobs are like”.