It's time to write the first unit test for the Note
class. The first unit test we write tests the updatedAtAsDate
computed property of the Note
class. Remember that we only unit test the behavior we add to the Note
class. We name the unit test testUpdatedAtAsDate()
Subscribe to Cocoacasts Plus to watch this episode.
Unit Testing Core Data Models
Unit Testing a Core Data Model
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
-
05:06