Testing .NET Code in Visual Studio 2019

Visual Studio 2019 has great support and new features for unit tests. This course will show you how to write and run unit tests in Visual Studio 2019 helping you write rock-solid applications.
Course info
Rating
(22)
Level
Intermediate
Updated
Jul 16, 2019
Duration
2h 53m
Table of contents
Course Overview
Creating Your First Test Project
Writing and Running Unit Tests
Implementing Data Driven Tests
Testing with MSTest, NUnit, or xUnit
Analyzing Code Coverage
Using Live Unit Testing
Description
Course info
Rating
(22)
Level
Intermediate
Updated
Jul 16, 2019
Duration
2h 53m
Description

At the core of writing robust .NET code is a thorough knowledge of testing. In this course, Testing .NET Code in Visual Studio 2019, you will explore the skills you need to test your .NET code in Visual Studio 2019. First, you will learn how to create a test project and how to write and run unit tests. Next, you will discover how to write data-driven tests and how to work with the popular test frameworks MSTest, NUnit, and xUnit. Finally, you will see how to analyze the code coverage of your tests and how to run tests in real-time with Live Unit Testing. When you’re finished with this course, you’ll have a foundational knowledge of testing .NET Code in Visual Studio 2019 that will help you as you move forward to test and implement your own .NET projects. This course was recorded using the preview version of Visual Studio 16.2 to reflect what the user interface will look like going forward.

About the author
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 from the author
More courses by Thomas Claudius Huber
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Thomas Claudius Huber and welcome to my course, Testing .NET Code in Visual Studio 2019. I am a software developer, and I build applications mainly with Visual Studio and .NET. In this course, you will learn how to use Visual Studio 2019 to write and run unit tests. You will test and implement new features for a .NET project of the Wired Brain Coffee Company. Testing your .NET code will help you to build rock-solid applications. Visual Studio 2019 has great support for unit tests. It contains the brand-new Test Explorer that lets you not only run your tests, but, for example, also group and filter them. Some of the major topics that we will cover include writing and running unit tests in Visual Studio, using the popular test frameworks MSTest, Nunit, and xUnit, analyzing how much code is covered by your tests, and testing your .NET code in real-time while you are coding with Visual Studio's Live Unit testing. By the end of this course, you will know how to use Visual Studio 2019 to write and run unit tests. This will help you to build solid and professional applications with .NET. Before beginning the course, you should be familiar with the basics of the C# programming language. I hope you will join me on this journey to learn how to write and run tests in Visual Studio with the course, Testing .NET Code in Visual Studio 2019, at Pluralsight.