Advanced Test-Driven Development Using Visual Studio and C#

Course No. NTNET-300

This one-day course for developers introduces advanced tools and methodologies of test-driven development that come with Visual Studio 2012 Ultimate and illustrates the applications of these techniques in real-world projects. The course is practical, with many example programs and tests written in C#, including a cumulative case study. The goal is to demonstrate unit testing in .NET development projects including tiered service-oriented applications.

Course Duration:

1 Day

Prerequisites:
Participants should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio.
Course Outline:
  • Code Coverage
    • Code Coverage
    • Block Coverage
    • Branch Coverage
    • Line Coverage
    • Collecting Coverage Data
    • Selecting Coverage Units
    • Coverage Visualization
    • Coverage Analysis
    • Exclusions
  • Isolation Techniques
    • Design for Test
    • Private Accessors
    • Test Instance
    • Configuration Files
    • Test Instance – Database
    • Test Instance – Service
    • Stubs
  • Microsoft Fakes
    • Isolation Tool
    • Adding Fakes
    • Stub Classes
    • Stub Methods
    • Stub Properties
    • Shims
    • Shims Context
    • Classes
    • Methods
    • Default Behavior
    • Global Shims
    • Static Methods
  • Appendix A – Learning Resources

Related Posts

About Us

IT Training, Agile Ways of Working and High Impact Talent Development Strategies