Course
Skills Expanded
Unit Testing with MSTest
A mechanical course on the Visual Studio Unit Testing capabilities
What you'll learn
In this course you will be learning about using Microsoft Visual Studio Unit Testing features. We will cover understanding unit testing basics, asserts and testing lifecycle, web performance tests, generic tests, ordered tests, WebServiceHelper and TestConfigurationSection.
Table of contents
Introduction to Microsoft Unit Testing Framework
43mins
- Introduction 1m
- Why Unit Testing Framework? 1m
- Hello VS Unit Testing Framework 3m
- Demo- Writing Your First Unit Test 9m
- Arrange-Act-Assert 1m
- Managing Unit Tests in VS 1m
- Demo- Managing Unit Tests in VS 5m
- Configuring Test Runs 2m
- Demo- Configuring Test Runs 5m
- Debugging Unit Tests 1m
- Demo- Debugging Unit Tests 2m
- Generating Unit Test using VS 1m
- Demo- Generating Unit Tests in VS 3m
- Executing Unit Tests from CMD line 2m
- Demo- Executing Unit Tests from CMD line 6m
- Summary 1m
Asserts and Testing Lifecycle
48mins
- Introduction 2m
- Initialization and Cleanup of Resources 1m
- Initialize and Cleanup at Test Level 2m
- Demo- Test Initialization and Cleanup 4m
- Initialize and Cleanup at Class Level 1m
- Demo- Class Initialization and Cleanup 4m
- Initialize and Cleanup at Assembly Level 1m
- Demo- Assembly Initialization and Cleanup 3m
- Asserting the Facts 2m
- Demo- Assert, Assert, and Assert 14m
- Test Context 1m
- Demo- TestContext 4m
- Driving Tests with External Data 2m
- Demo- Drive Your Tests With External Data 5m
- Summary 2m
Types of Tests
51mins
- Introduction 1m
- Testing Web Applications 2m
- Process of Web Testing 2m
- Demo- Adding Web Test to Test Project 4m
- Web Test Run: Browser Relationship When Web Test is Run 2m
- Parameterizaton of Web Servers 2m
- Demo- Parameterizing Web Server 3m
- Demo- Extraction Rules 5m
- Understanding Extraction Rules 1m
- Understanding Validation Rules 2m
- Demo- Validation Rules 4m
- Understanding Dynamic Parameters 2m
- Demo- Dynamic Parameters 11m
- Data Binding 1m
- Demo- Data Binding 6m
- Coded Web Tests 1m
- Demo- Coded Web Tests 4m
- Summary 1m
Miscellaneous Unit Test Features
41mins
- Introduction 2m
- Ordered Tests 1m
- Demo- Ordered Tests 3m
- Generic Tests 1m
- Demo- Generic Tests 3m
- Unit Test Attributes 1m
- Demo- Unit Test Attributes 3m
- Unit Test Attributes 1m
- Demo- Unit Test Attributes 3m
- Unit Test Attributes 2m
- Demo- Unit Test Attributes 5m
- Testing Web Services Hosted on ASPnet Dev Server 2m
- Demo- Testing Web Services Hosted on ASPnet Dev Server 5m
- Understanding TestConfigurationSection 2m
- Demo- TestConfigurationSection 5m
- Summary 2m