News for hackers. Stuff that matters.
Re:Freelancer.com has ruined my life by wirrbel on Saturday November 04, 2017 @03:24PM (#15626463)
I couldn't imagine to work without writing tests and I firmly believe it actually makes me quicker than manual coding. Sure, if you aim for 100% code coverage it takes time, but instead of trying out my code a few times, I just write those try-outs as tests and am happy ever after.

I don't really mention tests to my management. To me, they are just part of coding. My coworkers don't mind, they are happy when maintaining or changing my code that they have tests for support.

Re:Freelancer.com has ruined my life by Denzel on Saturday November 04, 2017 @04:09PM (#15626670)
This, exactly this. I've felt the same increase in development velocity; and an equal increase in confidence. I'm able to deliver systems and walk away with 99% confidence that no one is going to come back to me with a problem. And if they do, it's easy enough to write a regression test to prove the problem and then fix it.

I've adopted your same approach. I don't mention testing, but I'll be damned if I'll ever write a piece of code without it.

The light-bulb moment for me was when I realized that testing happens one way or another. Either you're in the console manually setting up and running everything... or you could just write a program (a test) to do the same thing for you. Once I realized that, I never looked back!

Re:Freelancer.com has ruined my life by nkristoffersen on Saturday November 04, 2017 @03:53PM (#15626583)
I just started learning how to write tests for my APIs. Changed my life! Now when I need to make broad changes I can easily tell what needs to be fixed because my tests cover each end point with multiple success and failure cases. Love it.