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!
