ASP.NET Core MVC Testing Fundamentals

Pluralsight
Course Summary
ASP.NET Core MVC is the latest evolution of .NET web programming. In this course, you'll learn how to create automated tests to cover the different parts of your ASP.NET Core MVC application to help find errors before they make it to production.
-
+
Course Description
No one likes the stress of emergencies caused by errors in code that have been released to production, especially if these errors happen early in the morning and require emergency fixes. Automated tests help check the application is working as expected, and reduces the likelihood of errors making it to the production environment. Fewer production errors mean happier end users, development teams, and business owners. In this course, ASP.NET Core MVC Testing Fundamentals, you'll learn how to create automated tests for your ASP.NET Core MVC application, including model, controller, and automated UI tests. First, you'll dive into getting started with xUnit.net, and how to specifically test your model. Next, you'll explore how to isolate parts of your code base by using mock objects and the Moq library for .NET Core. Finally, you'll cover how to automate the browser to create functional UI tests. By the end of this course, you'll have the knowledge to create automated unit, integration, and UI tests for your ASP.NET Core MVC application. Additionally, you'll know how to execute these tests to verify the correctness of your application, and help ensure errors do not make it to production.
-
+
Course Syllabus
Course Overview- 1m 18s
—Course Overview 1m 18sIntroduction- 23m 3s
—Introduction 2m 8s
—The Benefits of Software Quality 2m 30s
—Why Automated Testing? 2m 15s
—Automated Testing in Context 1m 41s
—Creating a Balanced Test Portfolio 1m 35s
—The Testing Pyramid 4m 50s
—Course Overview 1m 21s
—Demo: Application Overview 5m 24s
—Summary 1m 14sTesting Model Classes with xUnit.NET- 33m 49sCreating and Using Mock Dependencies- 27m 30sWriting MVC Controller Tests- 24m 2sWriting ASP.NET Core MVC Integration Tests- 32m 39sImplementing Automated Functional UI Testing with Selenium- 33m 58s