- Course
Unit Testing an ASP.NET Core MVC Web Application
Unit testing your ASP.NET Core MVC web application helps with improving its reliability. This course will teach you the ins and outs of unit testing with xUnit in detail.
- Course
Unit Testing an ASP.NET Core MVC Web Application
Unit testing your ASP.NET Core MVC web application helps with improving its reliability. This course will teach you the ins and outs of unit testing with xUnit in detail.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Unit testing improves the reliability of your application. In this course, Unit Testing an ASP.NET Core MVC Web Application, you’ll learn the ins and outs of unit testing with xUnit.net.
First, you’ll explore the Arrange, Act and Assert pattern by covering core unit testing scenarios like asserting on strings, collections and exceptions. Next, you’ll discover different approaches to set up your test context, work with data-driven tests and how to isolate tests.
Finally, you’ll learn different approaches to testing MVC-specific concerns like testing controllers, middleware and filters. At the end of the course you’ll learn how to integrate testing in your workflow and you’ll have the skills and knowledge needed to improve your ASP.NET Core MVC application reliability with unit testing.
Unit Testing an ASP.NET Core MVC Web Application
-
Coming Up | 3m 16s
-
Positioning This Course | 2m 9s
-
Course Prerequisites | 40s
-
Frameworks and Tooling | 2m 42s
-
Demo - Introducing the Demo Scenario | 5m 34s
-
The What, Why, and What Not of Unit Testing | 3m 18s
-
Comparing Unit Tests, Integration Test, and Functional Tests | 3m 40s
-
Demo - Adding a Unit Test Project | 3m 48s
-
Demo - Writing Your First Unit Test | 7m 48s
-
Naming Guidelines for Unit Tests | 1m 25s
-
The Arrange, Act, and Assert Pattern | 2m 5s
-
Comparing xUnit, NUnit, and MSTest | 2m 3s
-
Summary | 59s