In this episode we are going to take a look at how to use manual mocks for testingOften times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to test. When we want to test in isolation you can use a testing technique where you mock out your dependencies. When using Mocks you can either do it manually (what we are looking at) or you can use a mocking framework like Rhino Mocks. Either way you achieve the same results. Read more: Dimecasts.net
0 comments:
Post a Comment