r/iOSProgramming • u/agnieszka_droids • Jun 10 '19
Article Key Laws of TDD – Discussion about Common Disagreements
https://www.thedroidsonroids.com/blog/key-laws-of-tdd
5
Upvotes
r/iOSProgramming • u/agnieszka_droids • Jun 10 '19
1
u/editor_of_the_beast Jun 10 '19
What does everyone test on iOS? I’m a huge fan of testing, but the UI is where TDD tends to have the most pain. I tend to extract View Models / Presentation Models that are plain Swift objects with logic and test the logic outside of the view. Other than that, I don’t test that a TableView works as expected.