Basics of Unit Testing for C# Developers

Every developer needs to test their code or have it tested by someone. In this course, you'll learn how to start unit testing to improve the quality of your applications.
Course info
Rating
(84)
Level
Beginner
Updated
Jun 12, 2017
Duration
2h 9m
Table of contents
Course Overview
Why You Need Unit Testing
Your First Unit Tests
Avoid Hard-Coding in Unit Tests
Initialization and Cleanup
Attributes Help You Organize Your Unit Tests
Assert Classes Save a Lot of Time
Consolidate Tests by Making Them Data-Driven
Automating Unit Tests with VS.Test.Console
Description
Course info
Rating
(84)
Level
Beginner
Updated
Jun 12, 2017
Duration
2h 9m
Description

Every developer knows they should be creating unit tests to improve the quality of their applications. In this course, Basics of Unit Testing for C# Developers, you'll learn how to create unit tests by using Visual Studio. First, you'll see how easy it is to get started with creating unit tests. Next, you'll explore how to simplify the unit test process by creating data-driven tests. Finally, you'll cover how to automate your unit tests by scheduling them to run via the command line utility VSTest.Console. By the end of this course, you'll have the required skills needed to go on and learn more advanced topics in unit testing.

About the author
About the author

Paul loves teaching and technology, and has been teaching tech and business topics for over 30 years. Paul helps clients develop applications, and instructs them on the best use of technology.

More from the author
Angular Security Using JSON Web Tokens
Intermediate
2h 50m
2 Apr 2018
More courses by Paul Sheriff