Test Doubles Taxonomy for R: Dummy, Stub, Spy, Mock, Fake (opens in new tab)
You probably call them all "mock". What each type of test double actually is, when to reach for it in R, and what goes wrong when you mix them up. Continue reading:
Read the original article