Test-Driven Development in .NET
Learn unit testing and test-driven development in .NET in one day.
In this workshop you learn how to write tests in .NET and how to use test-driven development (TDD) to write better applications. It is up to date with Visual Studio 2026 and .NET 10.
The workshop mixes presentations, demonstrations and hands-on exercises. I also share the best practices and tools I use myself.
This workshop is the same as Part 3 of C# – Beyond the Fundamentals, so you don’t need both.
Who Is This Workshop For?
C# developers who want to learn TDD and improve their code quality by writing tests.
Prerequisites
My C# Fundamentals workshop or equivalent experience, including LINQ and lambda expressions.
Workshop Agenda
During the workshop, we cover the following topics.
- Introduction to testing in .NET
- Testing libraries
- Running and debugging tests
- Asserts
- TDD
- Mocking
- Mocking libraries
- Advanced tests
About the Trainer
My name is Tore Nestenius. I teach on-site and remotely, both directly for companies and through training companies in Europe. What I bring:
- I have trained developers since 2010 and taught several hundred courses and talks.
- I create, maintain and teach every course myself, and improve it after every delivery.
- I am a Microsoft .NET MVP.
- I co-founded Edument, a Swedish training and consulting company, where I was CTO, developer and trainer.
- I work as an independent senior .NET consultant, so I teach from real projects.
- I have worked with .NET and C# since 2002.
- I hold the Azure AZ-204 and AZ-900 certifications.
- I co-founded the .NET Skåne user group.

TDD in .NET
Duration
1 day or 2 half days
Level
Intermediate
Language
English, Swedish
Training FAQs
Do you provide both on-site and remote training classes?
Yes, I provide both types of training.
Do you provide training in both Swedish and English?
Yes, both options are available. All my course materials are in English and I can teach the class in either Swedish or English.
Do you do half-day training?
When I run on-site, I usually do full-day classes. For remote training, I can provide options for both half and full days.
Do you do webinars and shorter talks?
Yes, please visit my Talks page for more details.
Do you provide customized courses?
Yes, I do. Contact me for more information.