How to add automated tests to an existing iOS/Swift codebase? | iOS Dev Live Mentoring

preview_player
Показать описание
Learn how to start testing existing/legacy iOS/Swift codebases, including hard-to-test massive view controllers using singletons.

Like and share this content with someone that you believe will benefit from it. See you in the next episode.

---

How to Build iOS Apps with Swift, TDD & Clean Architecture series↴

Caio & Mike's Book Suggestions ↴

---

Subscribe to our channel ↴

You can also find us on ↴

Caio ↴

Mike ↴

Join the iOS Lead Essentials program ↴

Visit our website ↴
Рекомендации по теме
Комментарии
Автор

Could you recommend please good book on TDD for swift

umersufyan
Автор

Hey Caio & Mike! I have a legacy codebase in which most of its view controllers are created from storyboards, so I cannot use initializer injection. Should I go with property injection instead for my tests? Is there any other better way to deal with those storyboard VCs? Thanks!

FranciscoConelli
Автор

Hey Caio & Mike! I'm working on a codebase that uses CoreBluetooth framework extensively. Currently, the project has massive view models or services which have concrete references to CBCentralManagers or 3rd party communication objects. These view model or service classes implement the delegate protocols to handle responses and use the objects to send the bluetooth commands. How would you recommend testing code like this that depends on CoreBluetooth? How would you simulate the delegate responses that the code depends on? Thanks

jacobwitt
join shbcf.ru