Test-Driven Development Using Visual Studio and C# Training

1 day (10:00 AM - 5:00 PM Eastern)

$425.00

Register for a live online class.

Nov 25 (closed)

Details

Subjects Covered

Prerequisites

Setup Requirements

Details

Course Details

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.

Subjects Covered

Test-Driven Development Using Visual Studio and C#

  • 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

Prerequisites

Before Taking this Class

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

Setup Requirements

Software/Setup For this Class

Course examples require Microsoft Visual Studio 2019 and Windows 7sp1 or higher. The free Visual Studio Community 2017 can be used.

Onsite Training

Do you have five (5) or more people needing this class and want us to deliver it at your location?