• fart@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    i have never written a unit test for a personal project in my life it’s not worth the overhead imo

    • lobut@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I prefer acceptance tests or end-to-end tests mostly for personal projects. Libraries I write will have unit tests though.

      However, for the most part. Personal projects are a lot of prototyping and throwing away. Unit testing and testing in general can get in the way of that.