Minimal APIs in .NET 6 but where are the Unit Tests?

1 · Scott Hanselman · Sept. 9, 2021, 6:02 p.m.
Minimal APIs in .NET 6 is great. But where are the Unit Tests?! Often testing is missed or forgotten because it's perceived as difficult or complex. Exploring a minimal Web API with ASP.NET Core 6 A .NET 6 Minimal API Todo example Playground Exploring a minimal WebAPI with ASP.NET Core Easier functional and integration testing of ASP.NET Core applications Automatic Unit Testing in .NET Core plus Code Coverage in Visual Studio Code But it's super fun and very easy! Once tests are easy to write, ...