.NET Test Driven Development

All developers want to build good quality software but not all developers test their software as they go along. Why not? A common explanation is "I don't have time to write tests!". The more pressure they feel, the fewer tests they write. This leads to less accurate and stable code, less productivity, less confidence and, ultimately, more pressure. It's a vicious cycle.

This course is designed to help you break out of the cycle by embracing unit-testing and, in particular, test-driven development. We will introduce the techniques and the tools necessary to prove your code as you go along. The course can be run using C# or VB.

Duration

3 days

Prerequisites

At least 6 months experience in C# or VB

What you'll learn

Understanding TDD principles

Writing effective unit tests

Refactoring code

Implementing Inversion of Control (IoC)

Using mocking frameworks

Course details

Overview of Test-Driven Development

Test, code, refactor, repeat

The benefits of TDD

The process of TDD

Tools available

Unit testing basics

Getting started with unit testing using Test Explorer in Visual Studio