651-905-3729 Microsoft Silver Learning Partner EC Counsel Reseller compTIA Authorized Partner

Test-Driven Development Using Visual Studio and C#

1 day

Description

An important 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 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.

Upcoming Classes

Virtual Classroom Live
November 30, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
December 18, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
January 29, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
February 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
March 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
April 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
May 28, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
June 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

Test-Driven Development

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

Visual Studio Unit Testing Fundamentals

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

More about Unit Testing Framework

Expected Exceptions
Custom Asserts
Playlists
Debugging Unit Tests
MSTest
Refactoring

Upcoming Classes

Virtual Classroom Live
November 30, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
December 18, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
January 29, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
February 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
March 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
April 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
May 28, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
June 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

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

 

Upcoming Classes

Virtual Classroom Live
November 30, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
December 18, 2026

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
January 29, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
February 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
March 26, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
April 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
May 28, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Virtual Classroom Live
June 30, 2027

$425.00
1 day    10 AM ET - 5 PM ET
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date