• gornius@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I actually had to refactor configuration module some time ago. These really came in handy. But was it worth it? Well… it saved some time, the time that could be used to debug problems manually, but it made me a lot more confident that the functionality that worked before, worked after.

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You just have to mock everything, so it’s basically testing nothing. But you get those code coverage numbers.