News for hackers. Stuff that matters.
Re:Why I don't mock by pjc50 on Wednesday May 28, 2014 @11:31AM (#7810753)
I too do systemsish programming in C++. All the places I've ever done this have "unit" tests that link in almost all of the executable and inject test data through the normal frontend. There's very little mocking; sometimes there will be a setFooForUnitTests() function to short-circuit some normal configuration path.

There are no comments on this comment yet.