Skip to main content
.NETCoreApp3.1

Support for writing functional tests for MVC applications. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/84be18b1048236ad163d737b442a4ccf3b10d997

Published
Oct 15, 2019
7y ago
Total Downloads
402.1M
402,052,960

Deprecated Package Version

Reason: Other, Legacy

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

Install

dotnet add package Microsoft.AspNetCore.Mvc.Testing --version 3.1.0-preview1.19508.20
ProductVersions
Other
.NETCoreApp3.1

README

Changes from Previous Version

v3.0.3v3.1.0-preview1.19508.20
Added Frameworks
.NETCoreApp3.1
Removed Frameworks
.NETCoreApp3.0
Added Dependencies
Removed Dependencies

Adoption Assessment

API and MVC apps that need realistic middleware, routing and dependency injection coverage without external process orchestration.

Integration Testing Guide
This version is marked prerelease. Validate its API and upgrade path before production use.NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Editorial Note: Bootstraps ASP.NET Core applications in tests via TestServer/WebApplicationFactory for high-fidelity HTTP integration tests. Trade-off: External dependencies still need explicit test doubles or infrastructure provisioning to avoid false confidence.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.