Development Using Visual Studio and C#
An emerging software engineering paradigm is test-driven
development, where tests are written early and testing is performed
continuously during the development process. Problems are discovered early and
corrected when they are found. This one-day course for developers explains the
methodology of test-driven development and the use of the unit testing
framework that comes with Visual Studio 2017, including the free Community
The course is practical, with many example programs and tests
written in C#, including a cumulative case study. The goal is to quickly bring
you up to speed in doing unit testing in your .NET development projects. The
student will receive a comprehensive set of materials, including course notes
and all the programming examples.
Understand the principles of test-driven
Acquire fluency in developing tests using the Visual
Studio unit testing framework
Efficiently exercise test suites using Visual
Studio and MSTest
Duration: 1 day.
student should have a basic knowledge of the .NET Framework and experience
programming in C# with Visual Studio.
What Is Test-Driven Development (TDD)?
Functional Tests / Customer Tests
Unit Tests / Programmer Tests
A Visual Studio Test
TDD with Legacy Code
Visual Studio Unit Testing Fundamentals
Structure of Unit Tests
Unit Testing Framework
Initialization and Cleanup
More about Unit Testing Framework
Debugging Unit Tests
Course examples require Microsoft Visual Studio 2017 and Windows
7sp1 or higher. The free Visual Studio Community 2017 can be used. See the
appropriate course Setup Guide for details.
A good minimal hardware profile for this course consists of a 2 GHz
or better CPU, 2 GB of RAM (4 GB recommended), and at least 10 GB of free disk
space for tools installation and courseware.