Your tests are mocking you - Jakub Zalas

59:03 · 15 Feb 2024 – 16 Feb 2024 · YouTube

About this talk

This talk covers the concept of test doubles, also known as mocks, and their reputation for making tests less readable and harder to maintain. The speaker, Jakub, explores the origins of test doubles, outlining scenarios where they are most beneficial and common pitfalls to avoid. He discusses different types of test doubles through practical examples and emphasizes the importance of making them trustworthy. The session highlights that the key to effective usage lies in a blend of contract and collaboration tests, crucial components of Test Driven Development.

From event

PHP UK Conference 2024

15 Feb 2024 – 16 Feb 2024

All event videos
Back to Watch