Azure DevOps, Scrum, & .NET Software Leadership and Consulting Services

Free course! Predicting the Future, Estimating, and Running Your Projects with Flow Metrics

From TechEd Houston 2014–“Zero to Hero: Untested to Tested with Microsoft Fakes & Visual Studio”


I spoke at TechEd 2014 last week and here are the slides, the pdf of the slides, code samples, and the link to the video from my unit testing & Microsoft Fakes talk.

Zero to Hero: Untested to Tested with Microsoft Fakes Using Visual Studio

You’ve got an application with no tests. Trust me. You’re not alone. You’d love to get some great code coverage but no one ever thought about tests while they were building the app. It’s tightly-coupled and there just isn’t a good place to start adding unit tests. It feels hopeless but Visual Studio is here to help with Microsoft Fakes Framework. In this session we show you how to take a tightly-coupled app and turn it into something a lot more testable. Along the way, we also talk about the design patterns that will help you refactor your code for testability and make *future* code more testable from the start. When we’re done, we’ll not only have a well-tested app but we’ll have a better software architecture with a clean separation of concerns that’s much more maintainable.

SNAGHTMLe445938

(slides) (pdf) (code samples) (video)

Enjoy,
-Ben

 

Looking for help with particularly difficult testing problems?  Not sure how to start unit testing or working with MS Fakes?  We can help.  Drop us a line at info@benday.com.

SUBSCRIBE TO THE BLOG


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.