This project has moved. For the latest updates, please go here.


Stubs introduction needs more diagrams


In the "Better Unit Testing with Microsoft Fakes", chapter 2, Stubs, there should be diagrams illustrating the idea of interface / component isolation like the following Shims introduction has with figures 6 and 7. i.e. a diagram showing a component under test with Stubs talking to Stubs instead of downstream dependencies like database/service/... shown in figure 5. Figure 5 illustrates how the system isolates components but not the use of that isolation (again, by testing with stubs instead of actual dependencies).

Actually, figure 6 is a simplified diagram for this, and maybe should be moved into the stubs introduction as it illustrates stubs.
Closed Jan 2, 2014 at 9:44 AM by mikeFourie


mikeFourie wrote Jan 2, 2014 at 9:44 AM

Thanks for the feedback. I've included a reference to this figure from the stubs section in the next refresh we are working on.


wrote Jan 2, 2014 at 9:44 AM