Skip to main content
net11.0

Support for writing functional tests for MVC applications. This package was built from the source code at https://github.com/dotnet/dotnet/tree/f7b4c5716faaee8fb8a289aed29118cad955c45f

Published
Jun 9, 2026
4mo ago
Total Downloads
402.1M
402,052,960

Install

dotnet add package Microsoft.AspNetCore.Mvc.Testing --version 11.0.0-preview.5.26302.115
ProductVersions
.NET
net11.0

README

Changes from Previous Version

No structural changes between v11.0.0-preview.4.26230.115 and v11.0.0-preview.5.26302.115.

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.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.