Testing Components with BUnit
摘要
In previous chapters, we have been building a PizzaPlace application, which contains several components. We have tested these components by running the application and interacting with it. Here we will look at writing unit tests for Blazor components using bUnit and NSubstitute.