How to Test Software, Part I: Mocking, Stubbing, and Contract Testing
DZone
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. First, let’s review a concept from the previous post: the test pyramid.
Let's personalize your content