Skip to main content
Total Downloads
373.7M
373,692,777
Published
Apr 10, 2018
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.AspNetCore.Mvc.Testing --version 2.1.0-preview2-final
Package Manager Console
Install-Package Microsoft.AspNetCore.Mvc.Testing -Version 2.1.0-preview2-final
PackageReference
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="2.1.0-preview2-final" />

Frameworks

.NETStandard2.0

Dependencies

[2.1.0-preview2-final, )
[2.1.0-preview2-final, )

Adoption guide

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

Integration Testing guide
Why it appears in the guide: 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.

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.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.