In our exploration of using mocks in tests, we’ve looked at quite a few topics in detail. We’ve covered setting up mocks to return values, changing their default behaviours, and verifying methods. While we can achieve a lot with mocks, they aren’t the only option available. In this article, we’ll look at three alternatives to mocking.
Share this post
What Alternatives Are There to Use in Unit…
Share this post
In our exploration of using mocks in tests, we’ve looked at quite a few topics in detail. We’ve covered setting up mocks to return values, changing their default behaviours, and verifying methods. While we can achieve a lot with mocks, they aren’t the only option available. In this article, we’ll look at three alternatives to mocking.