Unit Testing Core Data Models
Writing Better Unit Tests
Let's start with the
updatedAtAsDate computed property. Change the name of the unit test to
testUpdatedAtAsDate_NotNil(). We need to implement a second unit test for the
updatedAtAsDate computed property if the
updatedAt property doesn't have a value.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.Watch Every Tutorial for $80 per Year