Presentation: Mocking .NET Without Hurting Its Feelings
Unit testing has become an accepted part of our lives as .NET programmers. To help focus our tests to only the code we want to validate, Mocking Frameworks are a powerful tool in our toolbox. Like many tools, if you have an understanding of how the tool works under the hood, you can bend it to your will (and also know where it'll break if you bend too much).
In this session, you'll learn about the two main types of mocking frameworks: constrained frameworks (like RhinoMocks and Moq) and unconstrained frameworks (such as Typemock Isolator and Telerik JustMock). I'll dig into how the two actually do their magic and we'll discuss the pros, cons, and limits of both. We'll look at examples of how to use the frameworks in your tests, mocking out dependencies from your own code and even third-party logic.
You'll get the most out of this session if you're comfortable reading C# code and have a general understanding of class inheritance in .NET, along with some experience writing and running unit tests. Prior experience using mocking frameworks is not necessary.
Speaker: John Wright
As a 17-year veteran of the software industry, John has gained development experience ranging from “shrink-wrapped” software to large, distributed networks using multiple platforms and technologies. He has a wide experience base with software development and management across the entire system lifecycle, including requirements gathering and analysis, architecture design, development, testing, and release. He has a pragmatic approach to and a heavy interest in continuous improvement of people, process, and product. He's currently applying that experience as a Full-Stack Web Developer at Stack Overflow on the Internal Development team.
- Food is provided and arrives around 6:45 PM. (Pizza, Soda, Water)
- 90 minute technical presentation starting at 7:00 PM
- After the presentation there is an opportunity to network.
- Meeting Code of Conduct (http://www2.wi-ineta.org/Home/Privacy)
Thomson Reuters (http://www.thomsonreuters.com/)
450 North Sunny Slope Road
Brookfield, WI 53005
(Park in lot near the western most entrance.)
Map and Directions
** The red star on the map shows the meeting entrance.