I'm not aware of any formal documentation available but here are two good blog posts - one by Kiran and the other one by Filip.
Testing Microsoft ASP.NET Web API ---- in-memory
-
24-06-2022 - |
Pregunta
Is there guidance and examples on how to setup and structure tests, in-memory, for Microsoft Web API class project which is independent of hosts (to put it simply it is not a Web API inside ASP.NET MVC project).
The Web API class library itself is boot strapped with configuration being set up via HttpConfiguration
.
I would like to know if there is formal guidance and examples of the various tests that can be written for this setup.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow