Test Doubles in Swift
Daniel García
151

Hi! Thanks for the post Daniel García , it is very interesting. I feel that what you do is really similar to what we do in Android at the end of the day 😁.

I was wondering about how do you build your dependency graph at production code, and if you use any framework for that or other techniques like a service locator. Are you building production graphs for tests too? Could you mimic all the production instantiation logic for a big scoped unit / integration test covering different layers and be able to cut it at any point overriding chosen dependencies with fakes?

Thanks!