This repo shows how to write integration tests for an ASPNET5 MVC6 RC1 project using xUnit and the Microsoft.AspNet.TestHost.
Thanks to David Fowler for this Pull Request which shows how to setup your project to avoid a known problem where integration tests hosted in a separate project which uses the Microsoft.AspNet.TestHost will fail with the error:
System.InvalidOperationException : The view ‘Index’ was not found. The following locations were searched:
/Views/Home/Index.cshtml
/Views/Shared/Index.cshtml
This has been seen in a few places: