In the previous episodes, we unit tested the analytics library we built. The integration with the Google SDK is an aspect of the implementation we haven't talked about in detail. We shouldn't unit test the Google SDK itself, but can we unit test the integration with the project? That is the question we focus on in this episode.
Subscribe to Cocoacasts Plus to watch this episode.
Building Type-Safe APIs in Swift
Testing the Untestable
by Bart Jacobs in Programming
Swift 5
Xcode 14
iOS 16
Building Type-Safe APIs in Swift
-
1 Eliminating Stringly Typed Code
06:31
-
08:21
-
06:22
-
05:30
-
5 Decoupling the Analytics Library
09:50
-
7 Looking Beyond Code Coverage
09:39
-
9 Testing the Untestable
08:23