News for hackers. Stuff that matters.
Re:Why Most Unit Testing Is Waste [pdf] by nradov on Tuesday October 31, 2017 @09:21AM (#15592999)
Even the best code written by the best developers will eventually need to be refactored if the software lives long enough. Changes in requirements, environments, and tools will eventually invalidate the initial design. If the software will only be used for a couple years and then discarded then you can get away with minimal unit tests. But extensive unit tests are absolutely essential to successfully maintaining a system with a 10+ year lifecycle.
Re:Why Most Unit Testing Is Waste [pdf] by mempko on Tuesday October 31, 2017 @09:40AM (#15593118)
The kind of refactor that you are talking about will require a rewrite of the unit tests. Unit Tests are a burden in restoring. They only stay the same if liskov substitution holds. Which is rare in any significant change.