You can watch this episode by subscribing to Cocoacasts Plus.

Unit Testing Core Data Models

Unit Testing a Core Data Model

Unit Testing Core Data Models
1 Setting Up the Project 04:11
2 Setting Up the Core Data Stack Plus 07:02
3 Unit Testing a Core Data Model Plus 05:59
4 Writing Better Unit Tests Plus 11:19
5 Writing More Unit Tests Plus 05:06
Download Your Free Copy of
The Missing Manual
for Swift Development

The Guide I Wish I Had When I Started Out

Join 20,000+ Developers Learning About Swift Development

Download Your Free Copy

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()

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials

Monthly

$19 / month

Pay Once a Month
30 Day Money Back Guarantee

Yearly

$8.25 / month (billed annually)

Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books

Next Episode "Writing Better Unit Tests"