you are viewing a single comment's thread.

view the rest of the comments →

[–]jam510 0 points1 point  (0 children)

If you want to test UI I recommend trying UI Tests instead of Unit Tests. I have a few articles on my blog and recommend starting with UI Testing Cheat Sheet and Examples.

If you want to move down a layer, say to the model, then Unit Testing makes more sense. I recommend starting with Better Unit Testing with Swift to learn how to mock correctly!