3 ms·
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 thro
by pjc50 13y ago
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.