Automated Testing with MSTest V2

by Jason Roberts

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.

What you'll learn

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.

Table of contents

About the author

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

Ready to upskill? Get started