Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Unit Testing C# Code - Tutorial for Beginners

Programming with Mosh via YouTube

Overview

Learn the fundamentals of unit testing C# code in this comprehensive 45-minute tutorial for beginners. Explore automated testing concepts, benefits, and types, including the test pyramid. Discover essential tools and write your first unit test while learning to test all execution paths. Gain confidence in refactoring code and understand how to use NUnit in Visual Studio. Delve into Test-Driven Development principles and get an overview of a complete C# unit testing course structure. Master the skills needed to improve code quality and reliability through hands-on examples and expert guidance.

Syllabus

What is Automated Testing.
Benefits of Automated Testing.
Types of Tests.
Test Pyramid.
The Tooling.
Source Code.
Writing Your First Unit Test.
Testing All the Execution Paths.
Refactoring With Confidence.
Using NUnit in Visual Studio.
What is Test-Driven Development.
Course Structure.
Summary.

Taught by

Programming with Mosh

Reviews

Start your review of Unit Testing C# Code - Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.