Главная
Study mode:
on
1
Intro
2
What is bonit?
3
The Counter component
4
Test of component
5
Running Unit tests
6
Functionality testing - configure pizza dialog
7
To verifying markup, do it semantically!
8
Semantically verifying markup
9
Semantic verification modifiers
10
Creating testable and maintainable components
11
Dynamic component example
12
Creating maintainable tests
13
Summary -testing
14
Isolating the component under test
15
Rules for substitute components
16
Substitution with the built-in Stub component
17
Mocking components
Description:
Explore best practices for unit testing Blazor components using bUnit in this NDC Oslo 2021 conference talk. Learn why UI component tests are not inherently brittle, slow, or hard to maintain when using bUnit, a testing library designed to make Blazor component testing feel like testing plain old C# objects. Discover how to write stable and maintainable test suites while improving the maintainability of your Blazor components. Dive into topics such as the Counter component, functionality testing, semantic markup verification, creating testable components, and isolating components under test. Gain insights on using substitute components, mocking, and the built-in Stub component to enhance your testing approach.

Best Practices Unit Testing Blazor Components with bUnit

NDC Conferences
Add to list
0:00 / 0:00