Choose your language:

France
Germany
Hong Kong
India
Ireland
Japan
Malaysia
Netherlands
New Zealand
Singapore
Sweden
United Kingdom
United States

Test-Driven Development Using Visual Studio and C#

Course Code

IN1595

Duration

1 Day

The participant should have a basic knowledge ofthe.NET Framework and experience programming in C# with Visual Studio.
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 2015, 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. The participant will receive a comprehensive set of materials, including course notes and all the programming examples.
This course is designed for developers.

Upon completion of this course, participants will be able to:

  • Understand the methodology of Test-Driven Development
  • Use the Unit Testing Framework
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
MS Test
Refactoring
Send Us a Message
Choose one