ASP.NET Core 1 MVC Testing Fundamentals
Offered By: Pluralsight
Course Description
Overview
Learn how to test applications in the latest evolution of .NET web programming: ASP.NET Core MVC. Join author Jason Roberts to learn ASP.NET automated testing.
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 1 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.
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 1 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.
Syllabus
- Course Overview 1min
- Introduction 23mins
- Testing Model Classes with xUnit.NET 33mins
- Creating and Using Mock Dependencies 27mins
- Writing MVC Controller Tests 24mins
- Writing ASP.NET Core MVC Integration Tests 32mins
- Implementing Automated Functional UI Testing with Selenium 33mins
Taught by
Jason Roberts
Related Courses
DevOps TestingMicrosoft via edX Software Testing
NPTEL via Swayam Introduction to Software Testing
University of Minnesota via Coursera Java Spring Boot Application Software Testing
Coursera Project Network via Coursera Java from Zero to First Job, Practical Guide, 2000+ examples
Udemy