Please provide a 'how to write unit test for Web Api' including using Task/async ApiControllers'
The section on learning Web API needs to have a topic around writing unit tests. Web API home pages says it's 'easy to test' but then there are no topics around it. Please add a topic on unit testing
We’ve made a bunch of improvements around unit testing in ASP.NET Web API 2. You can read about some of the improvements here:
You should also check out the work we have done with IHttpActionResult and HttpRequestContext to make unit testing even easier.
Truman Cox commented
As a student, I am pretty sure that writing a dissertation is what most of students are afeard of. If you are out of time to write your dissertation, you can check here: http://dissertationagent.com/
Steve Gentile commented
Great, glad to see this picked up ~20 months later :)
Better late then never when it comes to writing tests!
Until official documentation becomes available I recommend reading these two articles on in memory testing of Web API: