Register
Friday, March 12, 2010
Houston TechFest Sessions
Isolating Dependencies in Unit Tests Using Mocks and Stubs (Level-200)
Alt.Net
September 26, 2009 02:55 PM - 04:10 PM
Claudio Lassala, EPS Software Corp

Soon after getting used to writing "unit" tests, developers tend to realize that those tests weren't really testing "units"; they were testing way more than that. In order to write real unit tests, it's necessary to use test doubles such as mocks and stubs. This session covers how to create and use those, and how to use Rhino Mocks to simplify things further. As we learn about those things, we'll also learn about the importance of thinking through how we write our code, putting thought into the dependencies that a class may have, and how things should be split up.

Print  
Privacy Statement  |  Terms Of Use
Copyright 2007-2009 Houston TechFest