You can watch this episode by subscribing to Cocoacasts Plus.

Mastering MVVM With Swift

A Few More Unit Tests

Writing units tests for the view models of the WeekViewController class is just as easy as writing unit tests for the DayViewViewModel struct. We start with the unit tests for the WeekViewViewModel struct.

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials

Monthly

$19 / month

Pay Once a Month

Yearly

$8.25 / month (billed annually)

Pay Once a Year and Save 56%

Next Episode "Taking MVVM to the Next Level"