Best practices unit testing Blazor components with bUnit - Egil Hansen - NDC Oslo 2021

Share this & earn $10
Published at : March 07, 2022

Why create tests of UI components? Isn’t UI tests inherently brittle, run slowly, and hard to maintain?

The answer is no, at least not with bUnit. bUnit is a testing library built to make writing tests for Blazor components feel like writing tests for plain old C# objects (POCOs), which means a lot of the good practices we know from unit testing carries over, as well as the benefits.

This presentation will give a brief introduction to bUnit and then dive into some of the best practices for writing components tests, tests which results in both stable and maintainable test suites as well as maintainable Blazor components.


Check out more of our featured speakers and talks at
https://ndcconferences.com/
https://ndcoslo.com/ Best practices unit testing Blazor components with bUnit - Egil Hansen - NDC Oslo 2021
Egil HansenBlazor.NET