.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET Core 2.1.0-preview1: Functional testing of MVC applications

For ASP.NET Core 2.1 we have created a new package, Microsoft.AspNetCore.Mvc.Testing, to help streamline in-memory end-to-end testing of MVC applications using . This package takes care of some of the typical pitfalls when trying to test MVC applications using TestServer. Create a test project To try out the new MVC test fixture, let...