News for hackers. Stuff that matters.
Re:When to Mock by aidenn0 on Thursday April 16, 2020 @09:51AM (#22889344)
This article uses the Mock/Stub distinction exactly reversed from how I've always heard it. Naming things is hard.
Re:When to Mock by ooOOoo on Thursday April 16, 2020 @10:41AM (#22889845)
The article uses a Mock/Stub distinction very close to the famous Mocks Aren't Stubs article by Martin Fowler https://martinfowler.com/articles/mocksArentStubs.html