News for hackers. Stuff that matters.
Re:Why Most Unit Testing Is Waste [pdf] by nradov on Tuesday October 31, 2017 @09:12AM (#15592940)
No, changing the code doesn't invalidate the unit tests unless the API design contact changes.
Re:Why Most Unit Testing Is Waste [pdf] by mannykannot on Tuesday October 31, 2017 @09:21AM (#15592998)
By definition, unit tests test the implementation. A test at the API design contract level is an integration test. The only place where these are the same thing are pure (side-effect-free) functions that do not call other functions.