How to Test Software, Part I: Mocking, Stubbing, and Contract Testing
APRIL 22, 2019
In my last post , I talked about building a structured path to production, which tests to include, when to do them, and why. In this post, we’ll get into exactly how to do each kind of test. We’ll cover the techniques of mocking and stubbing and test-driven development to help each testing layer.