Generating Dummies with Magic: Automating Spy/Mock Writing

I’ve been introducing mock/spy generation at Just Eat Takeaway.com. I want to share my experience introducing mock generation at a company like Just Eat Takeaway.com

In this session I want to take you through the process of automating mocks/spies with a protocol. This will include how it can be setup for your project, the template file and where mocks/spies can be used. I will also take you through the reasoning why you should automate writing mocks/spies in your project!

In this case I used Sourcery to generate mocks, but there are other tools that can do a similar job

Rate this session on Joind.in

Share

Session info:

Speaker: Fady Yecob

Senior iOS Developer at Just Eat Takeaway.com

Date: 21 March 2025

Time: 16:10 - 16:40

Relevant tags:
iOS QA Swift Testing

See all speakers

See all videos