News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by gurkendoktor on Friday October 27, 2017 @03:34PM (#15571519)
> You see a lot of people arguing against this but I'm going to be honest, they churn out a lot of stuff that doesn't actually work.

My anecdata cancels out your anecdata. The TDD practitioners that I've met have, without exception, written code that worked fine for only the one case that they've tested. Example: They'd test a method for sending a message with the string "hello". Turns out the method didn't URL-encode the message before POST-ing it, and sending anything with a space was broken. They were confident and pushed the change.

Not saying you're wrong, just that TDD doesn't seem to work for everybody, and can even be a distraction.

Re:Write tests. Not too many. Mostly integration by cjsuk on Saturday October 28, 2017 @06:03AM (#15574594)
That will be because you worked with dumbasses.

If you only test the expected outcome you are a dumbass.