Hacker News new | ask | show | jobs
by AtHeartEngineer 2691 days ago
I need to start doing this. Any recommendations on where to start? I'd consider myself a pretty experienced python developer, that has not only not done unit testing, but have actively avoided it.

On the web side, any generators that create unit tests I normally delete...I know it's terrible.

1 comments

Don't drink the kool-aid.
I’ll second that. I owe a great amount to those willing to publicly denounce TDD.

If I had been a working developer as this nonsense ramped up, I would have avoided it too. Nobody really does TDD. It’s a mythical concept.

Some sanity checks are fine, and some integration tests. Unit tests are often a pit of time waste, depending on the unit. I aim for my unit tests to look like integration tests.

> Nobody really does TDD. It’s a mythical concept.

That is 100% not true it is far from a "mythical concept" and you should not be misguiding devs.

Where do you think your testing suite is from? You might even be using their code who knows.