Automated Testing with MSTest V2

MSTest V2 is a cross platform, open source testing framework. This course will teach you how to create automated tests to check your code is working as expected, create data driven tests, control test execution, and also how to extend the framework.
Course info
Rating
(58)
Level
Intermediate
Updated
May 18, 2018
Duration
2h 3m
Table of contents
Course Overview
Getting Started
Using Asserts to Pass or Fail Tests
Controlling and Customizing Test Execution
Creating Data Driven Tests
Reducing Code Duplication and Increasing Test Readability
Description
Course info
Rating
(58)
Level
Intermediate
Updated
May 18, 2018
Duration
2h 3m
Description

MSTest V2 is the evolution of the original "in-box" testing framework from Microsoft and is now a cross platform, open source testing framework. In this course, Automated Testing with MSTest V2, you'll learn how to use the framework to create automated test to help check your code is working correctly. First, you'll discover how to use the various assert features such as checking numeric, string, and collection values. Next, you'll explore how to take control of the test execution lifecycle and also execute additional setup or cleanup code. Finally, you'll learn how to execute a test multiple times with data driven tests and also how to customize and extend the MSTest framework to create more maintainable and readable test code. By the end of this course, you'll know how to create readable, maintainable, and customized automated tests with MSTest V2.

About the author
About the author

With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.

More from the author
Working with Nulls in C#
Intermediate
2h 9m
Aug 19, 2019
Mocking with Moq and NUnit
Intermediate
1h 53m
Feb 22, 2019
More courses by Jason Roberts
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Jason Roberts. Welcome to my course, Automated Testing With MSTest V2. I'm a Microsoft MVP, freelance developer, and author. In this course, we're going to learn how to create automated tests with the MSTest V2 testing framework. Some of the major topics that we'll cover in this course include how to check the results of production code by using MSTest asserts, how to take control of and also customize how your tests are executed, and reduce test code duplication by creating data-driven tests, and using the customization and extensibility features of the MSTest framework. By the end of this course, you'll understand how to create automated tests to ensure your code is behaving as it should and help to reduce production errors. Before beginning the course, it's recommended that you have at least a basic understanding of C#. I hope you'll join me on this journey with the Automated Testing With MSTest V2 course at Pluralsight.