News for hackers. Stuff that matters.
Re:Zen and the Art of Unit Testing by jwilliams on Wednesday March 15, 2017 @10:57AM (#13876527)
I've seen this in practice too. Lots of unit tests for small things that actually make the overall codebase brittle.

I think it comes from a pretty decent practice of coding from the tests outward. However I'd argue the long term value of many of those tests is minimal.

Re:Zen and the Art of Unit Testing by adrianratnapala on Wednesday March 15, 2017 @01:59PM (#13878259)
Yes. I write lots of unit tests, but they are mostly part of the coding process: I find they are superior to the manual testing I would have to do otherwise every time I add new code.

But as long term protections against regressions, such tests are less valuable than more coarse-grained integration tests.