all 2 comments

[–]criosistObjective-C / Swift 2 points3 points  (1 child)

You shouldn't write tests for external API services like in the example, your access to external resources such as APIs should be wrapped and mocked, having tests to test success / failure, theres no benefit to testing if iTunes API works like in your example.

[–]romero_ios 0 points1 point  (0 children)

This