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

Pluralsight

Unit Testing in ASP.NET Core 6 Blazor

via Pluralsight

Overview

Unit testing ensures that all code meets quality standards before it's deployed. This course will teach you how to unit test Blazor Applications using bUnit.

Unit testing is a vital part of any coding project. In this course, Unit Testing in ASP.NET Core Blazor, you’ll learn to unit test Blazor applications using bUnit. First, you’ll explore Blazor application structure. Next, you’ll discover key capabilities of bUnit, where you will learn about passing parameters, service injections, and mocking. Then, you'll learn how to verify outputs like markup, component state. Finally, you’ll dive into more advanced concepts like Authorization, HttpClient, NavigationManager, and PersistentComponentState. When you’re finished with this course, you’ll have the skills and knowledge of bUnit needed to unit test your Blazor applications components.

Syllabus

  • Course Overview 0mins
  • Introduction 13mins
  • Unit Testing Inputs, Parameters, and Service Injection 27mins
  • Component Interactions Unit Testing 26mins
  • Advanced Unit Testing 18mins

Taught by

Ervis Trupja

Reviews

4.1 rating at Pluralsight based on 11 ratings

Start your review of Unit Testing in ASP.NET Core 6 Blazor

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.