Main Content

Faking It: Isolating Dependencies with Microsoft Fakes

A talk by Dave Fancher

About the Talk

June 12, 2012 2:30 PM

Northeast Indiana Innovation Center

Northeast Indiana Innovation Center

Proper unit testing involves identifying the smallest pieces of testable code and ensuring that they function properly. Testing these units effectively generally requires somehow isolating them from the rest of the code base. There are a number of frameworks that help with this isolation but the Fakes isolation framework goes beyond interfaces and virtual methods by allowing us to detour any framework method. In this session we’ll explore how stubs and shims can help us isolate testable units regardless of whether we control the dependencies.

Ratings and Recommendations

This Talk hasn't been rated yet. Sign In to rate Talks.

comments powered by Disqus