Simple play icon Course
Skills

Unit Testing in ASP.NET Core Blazor

by Ervis Trupja

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.

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.

About the author

Ervis started his career as Mathematics teacher where he came to realize power of effective teaching. After one year of teaching professionally, he decided to challenge himself in the ever evolving and changing tech industry. He never stopped learning new programming skills and languages. Early on, he started creating web apps just for fun. This passion has since lead to his decision to work full-time in the tech field. The success and fun he has in this field keeps that passion alive today. Hi... more

Ready to upskill? Get started