This is actually in the official documentation now:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
Some more documentation on integration tests: https://learn.microsoft.com/en-us/aspnet/core/test/integrati...