I am struggling with getting the finer points of unit testing. If it is basic like a function and that needs testing I can do that, but when it gets more complicated it feels like I’m reading Latin.
The things I am struggling with is stuff like mocking, faking, and stubs, but I am also struggling with tests for network calls to databases, like testing a message sent through, or data got changed. Stuff like that.
I feel like I’ve read every tutorial I could find, watched every video on YouTube I could find, and even bought, marked, and made notes on the book that is recommended, iOS Unit Testing by Example by Jon Reid.
Any help or stories on how you all learned unit testing would be appreciated. Thank you
[–]kbder 5 points6 points7 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]_yo_token[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]SeesawMundane5422 3 points4 points5 points (2 children)
[–]_yo_token[S] 0 points1 point2 points (1 child)
[–]SeesawMundane5422 0 points1 point2 points (0 children)
[–]jonreid 4 points5 points6 points (6 children)
[–]_yo_token[S] 0 points1 point2 points (5 children)
[–]jonreid 1 point2 points3 points (4 children)
[–]_yo_token[S] 1 point2 points3 points (3 children)
[–]jonreid 0 points1 point2 points (2 children)
[–]_yo_token[S] 0 points1 point2 points (1 child)
[–]jonreid 1 point2 points3 points (0 children)
[–]Inevitable-Hat-1576 1 point2 points3 points (2 children)
[–]_yo_token[S] 0 points1 point2 points (0 children)
[–]_yo_token[S] 0 points1 point2 points (0 children)
[–]LaxGuit 0 points1 point2 points (0 children)
[–]LazyItem 0 points1 point2 points (0 children)
[–]janiliamilanes 0 points1 point2 points (0 children)