When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

pluralsight logo

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.

     
  • 5
  •  |
  • Reviews ( 78 )
Free

This Course Includes

  • iconpluralsight
  • icon5 (78 reviews )
  • icon2 hour 2 minutes
  • iconenglish
  • iconOnline - Self Paced
  • iconcore courses
  • iconpluralsight

About Automated Testing with MSTest V2

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.

What You Will Learn?

  • Course Overview : 1min.
  • Getting Started : 15mins.
  • Using Asserts to Pass or Fail Tests : 36mins.
  • Controlling and Customizing Test Execution : 22mins.
  • Creating Data Driven Tests : 22mins.
  • Reducing Code Duplication and Increasing Test Readability : 25mins.