Test-Driven Development Using Visual Studio and C# VS2019

Course Description

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 2019, including the free Community version. 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.
1 days
Contact us for pricing

Learning Objectives

Understand the principles of test-driven development
Acquire fluency in developing tests using the Visual Studio unit testing framework
Efficiently exercise test suites using Visual Studio and MSTest


Participants should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio.

Test-Driven Development

What Is Test-Driven Development (TDD)?
Functional Tests / Customer Tests
Unit Tests / Programmer Tests
Test Automation
Simple Design
A Visual Studio Test Drive
TDD with Legacy Code

Visual Studio Unit Testing Fundamentals

Structure of Unit Tests
Unit Testing Framework
Test Cases
Test Classes
Test Runners
Ignoring Tests
Initialization and Cleanup

More about Unit Testing Framework

Expected Exceptions
Custom Asserts
Debugging Unit Tests

.NETC#Visual StudioVisual Studio 2019VS2019Microsoft Visual Studio 2019VS 2019TDDTest Driven DevelopmentSoftware TestSoftware Testing