-
Course
- Core Tech
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.
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
- Version Check | 20s
- Introduction | 1m 14s
- Course Overview | 1m 12s
- The Benefits of Automated Tests | 1m 48s
- An Overview of MSTest | 3m 7s
- Creating a New Test Project | 1m 48s
- Writing an Initial Test | 2m 20s
- Running Tests in Visual Studio | 1m 19s
- Running Tests at the Command Line | 1m 6s
- Summary | 1m 10s
About the author
With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.
More Courses by Jason