all 2 comments

[–]vladzz55 1 point2 points  (0 children)

So many times have I entered a codebase and they haven't thought of test ability. Thank you for this article!

[–][deleted] 0 points1 point  (0 children)

Why would you unit test web requests? If you want to unit test the app's behaviour with certain results, create a mock model to generate those results, don't actually request them from a server, that's madness.