Testing and Testing (One of them is a Fake).
Hello! This week in class we've been discussing testing using fakes, more specifically with Stubs. Our first assignment this week told us about the different kinds of fakes used in testing, which I found a little confusing at first, since I would have liked to have seen a more literal example of all the different variants. That is why, for the sake of improving my knowledge on the subject going forward, since this is something we'll be talking about, I decided to do some reading on stubs and mocks, from a blog post written by Raphael F. on Medium. The article spoke at length about the differences between mocks and stubs, and gave some meaningful examples of both. I appreciated the use of diagrams in the article, as it shows what each of them interacts with and how (i.e. A stub doesn't interact with a database, and is instead a hard-coded value to be grabbed for testing). That wasn't something that was immediately obvious to me in the assignments, and during our assign...