Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

Unit Testing in ASP.NET Core Blazor

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.

Ervis Trupja - Pluralsight course - Unit Testing in ASP.NET Core Blazor
Ervis Trupja
What you'll learn

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.

Table of contents

About the author
Ervis Trupja - Pluralsight course - Unit Testing in ASP.NET Core Blazor
Ervis Trupja

Ervis is a professional web developer with a strong focus on simplicity. He has a strong hunger for knowledge and a passion for teaching others.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight