This is a mirror of official site: http://jasper-net.blogspot.com/

# 164 - Learning how to use Manual Mocks for Testing

| Thursday, February 25, 2010
In this episode we are going to take a look at how to use manual mocks for testing

Often 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

Posted via email from jasper22's posterous

0 comments: