In this episode, we use the MockClient
class to unit test the FeedViewModel
class. The unit tests for the FeedViewModel
class will change as the project evolves. The primary goal of this episode is to show how the MockClient
class helps us write unit tests for the FeedViewModel
class.
Subscribe to Cocoacasts Plus to watch this episode.
From Zero to App Store
Populating the Feed: Unit Testing the Feed View Model
by Bart Jacobs in Programming
Swift 5
Xcode 11
iOS 13
From Zero to App Store
-
03:31
-
10:30
-
13:26
-
9 Adopting the Coordinator Pattern
13:15
-
20 Populating the Feed: Unit Testing the Feed View Model
11:35