It's time to shift gears and focus on the Category class. This shouldn't be difficult since you already know how to write unit tests for a Core Data model and we laid the foundation when we implemented the unit tests for the Note class. Pause the episode for a moment and give it a try.
Subscribe to Cocoacasts Plus to watch this episode.
Unit Testing Core Data Models
Writing More Unit Tests
by Bart Jacobs in Core Data
Swift 4
Xcode 9
iOS 11
Unit Testing Core Data Models
- 
      
      
04:11
 
- 
      
2 Setting Up the Core Data Stack
07:02
 
- 
      
3 Unit Testing a Core Data Model
05:59
 
- 
      
      
11:19
 
- 
      
5 Writing More Unit Tests
05:06