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.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top