Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top