Blazor Tuesday Tip: Test User Behavior Not Implementation Details With bUnit

added by DotNetKicks
7/22/2020 5:01:14 PM

377 Views

As Blazor starts to gain popularity, I see some developers making a common mistake about what they should be testing with bUnit, a testing library for Blazor. Tip: Test user behavior, not implementation details To quote Kent C Dodds, author of react-testing-library (a library similar to bUnit but for React): The more your tests...


0 comments