MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Microsoft Fakes Fundamentals

Course Summary

In this course you will learn how to use the Microsoft Fakes provided with Visual Studio 2012 to isolate your tests from the dependencies of the classes you are unit testing. It will teach you how to use stubs to track dependency collaboration and to cont


  • +

    Course Syllabus

    ● Microsoft Fakes Fundamentals
        ◦ Introduction
    ● Using Test Doubles to Improve Unit Tests
        ◦ Introduction
        ◦ Unit Testing Can Be Difficult
        ◦ Properties of a Good Unit Test
        ◦ How Test Doubles Can Help
    ● Hand Rolled Mock Objects
        ◦ Introduction
        ◦ Creating Hand Rolled Mocks
        ◦ Demo: Creating Hand Rolled Mocks
        ◦ The Good
        ◦ The Bad
        ◦ The Ugly
        ◦ Summary
    ● Using Stubs to Improve a Unit Test
        ◦ Introduction
        ◦ Demo: An Example of a Poor Quality Unit Test
        ◦ Revisit: Properties of a Good Unit Test
        ◦ Demo: The Dependency Inversion Principle
        ◦ Demo: Generating the Stubs Assembly
        ◦ Demo: Fixing the Test with a Stub
        ◦ Recap: Properties of a Good Unit Test
        ◦ Demo: Using Stubs To Verify Property Setters
    ● Using Stubs to Control Program Flow
        ◦ Introduction
        ◦ Another Challenge - Controlling Program Flow
        ◦ Demo: Using Stubs to Control Program Flow
        ◦ Demo: Stubbing Property Getters
        ◦ Demo: Stubbing Generic Methods
        ◦ Demo: Default Behaviors
        ◦ Recap
    ● Using Shims to Test Legacy Code
        ◦ Introduction
        ◦ What Shims Were Designed To Do
        ◦ Demo: Shimming Static Methods
        ◦ Demo: Shimming Private Methods
        ◦ Demo: Shimming Constructors
    ● Summary
        ◦ Summary

     


Course Fee:
USD 29

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Development & Implementations and Quality Assurance & Testing Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top