~/talk

How to create maintainable and testable Blazor components

Talkat NDC Oslo 2022 · 2022-09-26..09-30· [testing]
slides:none on file

Shows how to build a reflective dynamic data-table that reads TItem properties, then refactors it into header and row subcomponents to improve cohesion and single-responsibility; demonstrates tests with bUnit (fast unit-run, semantic markup matching), how to stub or mock children via component factories/AddComponent and StopComponent, and when to use Moq or render templates; includes examples verifying component composition, DOM output, and stable CI-friendly tests.

AI-written summary · about

  1. 0:00Principles of maintainable components
  2. 25:06Introduction to bUnit testing
  3. 28:39Advanced testing strategies
  4. 53:25Closing and acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.