Unit Testing an ASP.NET Core 6 MVC Web Application
Offered By: Pluralsight
Course Description
Overview
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.
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 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.
Syllabus
- Course Overview 1min
- Introduction to Unit Testing 39mins
- Tackling Basic Unit Testing Scenarios 58mins
- Setting Up Tests and Controlling Test Execution 34mins
- Working with Data-driven Tests 24mins
- Isolating Unit Tests with ASP.NET Core Techniques and Mocking 46mins
- Unit Testing ASP.NET Core MVC Controllers 67mins
- Unit Testing ASP.NET Core Middleware, Filters and Service Registrations 15mins
- Integrating Unit Tests In Your Development and Release Flows 27mins
Taught by
Kevin Dockx
Related Courses
Build Web APIs using ASP.NETMicrosoft via edX MVC Application Design using .NET Core 2.0
Microsoft via edX Getting Started with ASP.NET Core Razor Pages
Coursera Project Network via Coursera ASP NET Core,MVC,C#,Angular, ChatGPT & EF Crash Course
Udemy RESTful Web API - The Complete Guide (.NET7 API) Part 1
Udemy