7

Am I the only one who likes writing tests? lol. It’s kinda relaxing and rewarding

Comments
  • 1
    zen garden
  • 3
    Yeah same here. I don’t understand the whole “i HaTe WrItInG tEsTs” crowd
  • 3
    @rudinskiz I like seeing the green checkmarks! Only hate it when I have to meet forced test coverage
  • 1
    tests for libraries are nice to write (as are docs I think)

    other things that are harder to test not so much

    also I think it depends what you're testing with... tests in java were a nightmare (it just felt like work to write all that verbose nonsense). tests in node js with mocha were hella nice

    if you have a codebase that's large and unwieldy or some state, with network calls, that shit can end up nutty and you frustrated

    I was never paid to write mocha tests, so another issue is when I write tests I'm just aware I'm not moving forward but just covering my ass, and I could really be spending my time on something more fruitful than my addiction to green checkmarks
    though I do it out of a kind of OCD, plus it's low-brain relaxation
  • 0
    @jestdotty I bet you like jest lol bc ur name
  • 0
    @jestdotty network requests, u use Sinon for that?
  • 0
    I generally am not a big fan of tests, but alas, it does filter out incompetence.

    My last SQL Exam was really relaxing now that I think about it.
  • 1
    copilot usually should be able to manage, if you're code isn't garbage
  • 0
    @TeachMeCode no, I hate jest. I came first
Add Comment