Integration testing in ASP.NET MVC 6

In ASP.NET 5, Microsoft has produced a Nuget package called Microsoft.AspNet.TestHost which you can easily use to run your ASP.NET 5 in memory. We can use that feature of self hosted application to create integration tests. Creating integration test project After creating a new ASP.NET 5 solution open file and dependency for XUnit.DNX integration packages and the Microsoft.AspN…

By Dawid on (tags: asp.net 5, mvc 6, testing, categories: code)