~/talk

Test-Driven Development With Blazor

slides:none on file

Claims that TDD works on the frontend with Blazor, then shows it: tests drive a recreated Counter and a Loan Application page, tests fail first, code is added and tests go green. Tools used are bUnit, xUnit and shouldly (plus bUnit.web.query and Playwright for end-to-end). Demo notes Shouldly ~80M NuGet downloads and component tests run in ~10–15ms. Tests focus on user behavior not CSS or implementation details.

AI-written summary · about

  1. 0:00Introduction to test-driven development with Blazor
  2. 0:27Who this talk is for
  3. 3:37Why write tests and TDD benefits
  4. 5:43Understanding test-driven development fundamentals
  5. 19:31TDD for Blazor components
  6. 23:03What to test in frontend
  7. 35:48Live TDD demo with Counter
  8. 42:10Chekhov's gun for tests
  9. 45:21Better tests with BUnit WebQuery
  10. 50:41Start TDD overcoming objections
  11. 1:01:50Q&A
~/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.