HTML and CSS Reference
In-Depth Information
Closing off the chapter, we discussed mocks versus stubs, wherein we concluded
that stubs are generally more versatile and should be used for isolation purposes that
don't directly support the goal of the test. Apart from those cases, the choice between
stubs and mocks for behavior verification largely is one of personal preference.
In the next, and last chapter, Chapter 17, Writing Good Unit Tests, we will
extract and review some testing patterns and best practices from our previous sample
Search WWH ::

Custom Search