Implementation routes
We are going to implement the backend in different ways. Each implementation will yield the same API outcome, but the point of this would be experiencing multiple unit tests and test double scenarios with each implementation.
Your team might be using one of these architectural routes, as they might be utilizing a document DB or a relational DB as in the case of most modern apps.
Frontend
In this book, we focus more on the backend, so, implementing TDD on the frontend is not covered.
Important Note
There are unit testing frameworks that would test the front-end. One popular library for Blazor, which we will use here, is bUnit, which works side by side with xUnit.
Among all popular JavaScript single page application (SPA) platforms, such as React, Angular, and Vue, I decided to implement the frontend with Microsoft’s Blazor.
Blazor is a web framework that relies on C# instead of JavaScript. Simply put, Blazor converts C# into a low-level...