Training in .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.

  1. Overview of Test-Driven Development: Test, code, refactor, repeat; The benefits of TDD; The process of TDD; Tools available
  2. Unit testing basics: Getting started with unit testing using Test Explorer in Visual Studio; Structure of a unit test; Using assertions; Dealing with exceptions; Using MS Test Extensions; Additional techniques
  3. Additional testing techniques: Using NUnit; NUnit constraint syntax; NUnit data-driven design; Code coverage
  4. Refactoring: The need for refactoring; Types of refactoring; Guidelines and recommendations; Creating layered designs; Using dependency injection
  5. Inversion of control: Overview of IoC; Using factories; Using IoC containers; Using a configuration file
  6. Test doubles and mocking: Principles and techniques; Getting started with RhinoMocks; Working with mock objects; Additional techniques and considerations
  7. Testing legacy code: Where to start? Adding new behavior; Finding change points; Breaking dependencies

Who Should Attend:
This training course is aimed at .NET developers.
Delegates must have experience using C#.

Register your interest in a Talk-IT Course

Course Interest

By sending this message you agree to the privacy policy.

Do a short survey to tell us what you think about training?

Click here to take the survey, it’ll only take a few minutes!

Scroll to Top