Explore the controversial world of test doubles in this 59-minute PHP UK Conference talk. Delve into the origins of mocking techniques, understand their proper application, and learn how to avoid common pitfalls. Discover the London school of Test Driven Development's perspective on test doubles, and examine various types through practical examples. Master the art of creating trustworthy test doubles by combining contract (role) and collaboration tests, ultimately improving the readability and maintainability of your code.
Your Tests Are Mocking You - Understanding Test Doubles and Their Proper Use