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
(110)
Level
Beginner
Updated
Jun 12, 2017
Duration
2h 10m
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
(110)
Level
Beginner
Updated
Jun 12, 2017
Duration
2h 10m
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
JavaScript Syntax and Operators
Beginner
1h 42m
Nov 12, 2019
ADO.NET Fundamentals in C#
Intermediate
2h 29m
Sep 5, 2019
VB.NET Fundamentals
Beginner
3h 26m
May 21, 2019
More courses by Paul D. Sheriff
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Paul Sheriff, and welcome to my course, Basics of Unit Testing for C# Developers. I am a Business Solutions Analyst for Fairway Technologies, a premiere provider of expert technology consulting and software development services. Every developer needs to test their code or have it tested by someone. Most developers are not great at testing their own code, and this is where unit testing can help. Learning to create unit tests will improve your code quality, make your end users happier, and will actually make you a better programmer. In this course, you are going to learn to create unit tests from scratch throughout eight modules. These modules are Why You Need Unit Testing, Your First Unit Tests, Avoid Hard-Coding, 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 VSTest. Console. By the end of this course, you will have the required skills needed to go on and learn more advanced topics in unit testing with some of the other great courses in the Pluralsight library. I would suggest after this course, you go on to the Advanced Unit Testing course. I hope you'll join me on your mission to becoming a great programmer by employing unit tests as a part of you our development cycle.