Another in the series of UG presentations that I have recorded for INETA Live.
Abstract:
- Do dependencies in your Unit Tests keep you up at night?
- Do your tests pass only when the stars are aligned and your database and file system are in a certain state?
- Are you tired of seeing your Unit Tests end up as Integration Tests?
- What if we told you that you won't have to worry about dependencies in your unit tests EVER AGAIN?
Then join us at the Dallas C# SIG for an introduction to MOQ. MOQ is an intuitive, type-safe and easy to learn mocking library that supports mocking interface as well as classes. Its API is extremely simple and straightforward, and doesn't require any prior knowledge or experience with mocking concepts.
We'll also take a look at PEX, a white-box test generation tool for .NET from Microsoft Research. Right from the Visual Studio code editor, PEX finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage. PEX also enables Parameterized Unit Testing, an extension of traditional unit testing that reduces test maintenance costs.
Bio:
Latish is a .NET consultant with Improving Enterprises (http://improvingenterprises.com), very passionate about software development and can be reached via his blog (http://www.dotnetsurfers.com) or @Latish on Twitter (http://twitter.com/latish).