Mocks aren’t Stubs. What are test doubles and how do we use them?


Detalles
Hi crafters 👋!
One of the topics we often discuss in our coding dojos 🥋 is the concept of mocks & stubs. If you want to join the discussion or learn about mocking styles in test-driven development, this talk is for you!
🗣️ The talk
Mocks aren’t Stubs. What are test doubles and how do we use them?
Good software emerges from the interactions of many parts. Some parts rely on other parts, and this collaboration allows the software to be less complex and more maintainable. However, the more interactions exist, the more rigid, viscous, and fragile the whole system may become. And here is the question. How are we supposed to test these interactions, especially if we want to keep things simple? Are we supposed to use real objects? Or substitute the real objects with something more reliable and predictable?
During the talk, we are going to examine test doubles and different testing strategies. We will quickly recap some basics and discuss the organization of test logic. Then, we will find out what test doubles are, what different kinds of them exist, and how to use them in different situations.
🎙️ The speaker
📅 Agenda
- 19:00 Opening doors
- 19:15 Reception & welcome 👋🏼
- 19:30 - 20:30 Talk: Mocks aren’t Stubs. What are test doubles and how do we use them? Sergey Kudashev
- 20:30-20:45 Q&A 🙋🏻♀️
- 20:45 Networking 🍕🧃🍻
🚨 Important
Security to access the venue:
- Access control: The security team requires an attendees list. Make sure you register for the event with your ID. Registration will close 24 hours before the event.
- You’ll be asked to provide your ID (DNI, NIE, etc.) to access the building.
Thanks to Adevinta for hosting this event in their offices and providing food 🍕 and refreshments 🧃🍻
Hope to see you all on January 18th!
Medidas de seguridad de la COVID-19

Mocks aren’t Stubs. What are test doubles and how do we use them?