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


Details
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!
COVID-19 safety measures

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