Simple play icon Course

C# Unit Testing

by Thomas Claudius Huber

Unit testing is an essential skill needed to write robust and high-quality code. This course will teach you how to write unit tests with .NET and C# to ensure that your code works as expected.

What you'll learn

To write robust and high-quality code, unit testing is an essential skill you need. In this course, C# Unit Testing, you’ll learn how to write unit tests in C# to improve the code of your .NET software projects. First, you’ll learn how to create a test project and how to write and run different types of unit tests. Next, you’ll learn how to write testable code in your application by decoupling dependencies and you will learn how to work with Test Driven Development (TDD). Finally, you'll learn how to run your unit tests automatically after every code change by using a GitHub action.

When you're finished with this course, you’ll have the skills and knowledge of C# Unit Testing needed to unit test your .NET and C# projects.

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