Simple play icon Course

Test Driven Development in C# 8

by Thomas Claudius Huber

Test Driven Development (TDD) is a powerful approach to build solid and robust software. This course teaches you how to use TDD in C# to test and implement new features in your .NET projects.

What you'll learn

At the core of writing solid and robust C# code is a thorough knowledge of Test Driven Development (TDD). In this course, Test Driven Development in C# 8, you will learn the skills you need to be able to apply TDD in your .NET projects. First, you will discover the basics of TDD and about the red-green-refactor cycle. Next, you will learn how to test and implement business logic for a .NET Core application with TDD. You’ll use xUnit as a testing framework and Moq as a mocking library. Finally, your business logic will be used in an ASP.NET Core Razor Pages application, and you will use TDD to add additional features in that application. When you’re finished with this course, you’ll have a foundational knowledge of Test Driven Development that will help you as you move forward to test and implement new features in your C# projects.

Table of contents

Course Overview

About the author

Thomas is a Microsoft MVP for Windows Development. He works as a developer, consultant, and trainer in the fields of .NET, C#, TypeScript, XAML, and Azure. Thomas is a well-known speaker and book author. He has written several special interest books in his areas, including an extensive handbook for Windows Presentation Foundation and a handbook on development with TypeScript. Thomas lives in Germany's Black Forest with his wife and their three daughters. In his spare time, he plays football and ... more

Ready to upskill? Get started