Episode

Testing Blazor Components with bUnit

with Robert Green, Egil Hansen

Egil shows how you can use bUnit to test Blazor components.

Chapters

  • 00:00 - Introduction
  • 01:00 - Overview of bUnit
  • 08:20 - Exploring a bUnit test project
  • 09:30 - Creating a bUnit test project
  • 10:20 - Writing a test
  • 14:15 - Injecting services into components being tested
  • 19:30 - Running tests
  • 20:25 - Handling delays
  • 23:00 - Working with reusable components
  • 29:10 - Testing for correct markup
  • 34:25 - Wrap-up

Developer