关于[Should you unit-test API/MVC controllers in ASP.NET Core?]的摘要:
This post is not trying to suggest that unit tests are bad in general, or that you should always use integration tests. I'm only talking about API/MVC controllers here.
原文地址: https://andrewlock.net/should-you-unit-test-controllers-in-aspnetcore/