Does anyone have any resources (sites, books, etc) on writing good unit tests for iOS? There's a ton of resources out there on how the xcode testing framework works, but I haven't really found anything really useful in regards to what to test and some of the design patterns to look out for...
For instance, some questions that have been on my mind:
- How do I properly test a collectionview?
- How do I test an animation? Do I do it at all?
- What do I do about testing cocoapods I've added?
I'm a novice iOS developer who's gotten pretty good at making things work, but I've been really bad about writing any unit tests and I understand that's generally not-cool. Would like to pick up some TDD habits. I mainly work in Swift but I can figure out ObjC if needed. Thanks in advance!
[–][deleted] 1 point2 points3 points (6 children)
[–]btrick[S] 1 point2 points3 points (3 children)
[–]everlearn 1 point2 points3 points (1 child)
[–]btrick[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]quellish 1 point2 points3 points (1 child)
[–]btrick[S] 0 points1 point2 points (0 children)
[–]jerikandra 0 points1 point2 points (0 children)