Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Unit Testing an ASP.NET Core 6 Web API

via Pluralsight

Overview

Unit testing your ASP.NET Core Web API 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 in ASP.NET Core Web API, 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 API-specific concerns like testing controllers, middleware, and filters. At the end of the course, you’ll learn how to integrate testing in your workflow. When you’re finished with this course, you’ll have the skills and knowledge needed to improve your application reliability with unit testing.

Taught by

Kevin Dockx

Reviews

4.9 rating at Pluralsight based on 107 ratings

Start your review of Unit Testing an ASP.NET Core 6 Web API

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.