-
Course
- Core Tech
Test Driven Development in C# 8
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
- Version Check | 15s
- Introduction | 1m 1s
- What Is Test Driven Development (TDD)? | 2m 28s
- Advantages of Test Driven Development | 4m 17s
- The Wired Brain Coffee Scenario | 3m 3s
- How This Course Is Structured | 3m 12s
- Understand the First Requirement | 2m 42s
- Create a Red Unit Test | 7m 17s
- Write Code to Make the Test Green | 1m 17s
- Refactor the Code | 3m 50s
- Test and Implement the Next Requirement | 3m 1s
- Refactor the Test Code | 2m 29s
- Summary | 1m 3s
About the author
Thomas is a well-known author, software developer, and speaker from Germany. He specializes in .NET, C#, TypeScript, XAML, and Azure.
More Courses by Thomas