문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top