Testable downloaders
In my last post, where I refactored a typical download-and-parse workflow, I said this about the downloader:
"There is still some work to be done to make the downloader testable, though"
I probably didn't write that as correctly as I should. It's not that I should have written the downloader to be more testable, I should have written a test-friendly downloading pattern.
Read More