โ˜… Three types of mocks

1 ยท Freek Van der Herten ยท Oct. 21, 2021, 12:46 p.m.
Mocking, faking; these might sound like intimidating words if you don't know what they are about, but once you do, you'll be able to improve your testing skills significantly.Part of "the art of testing" is being able to test code in some level of isolation to make sure a test suite is trustworthy and versatile. These topics are so important that we actually made five or six videos on them in our Testing Laravel course.In this post, I want to share three ways how you can deal with mocking and fa...