Skip to main content
NSubstituteNet6 package icon

NSubstituteNet6

Fork of NSubstitute 4.2.2 For .NET 5/6. NSubstitute is a friendly substitute for .NET mocking libraries. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind.

Total Downloads
5.6K
5,582
Published
Dec 10, 2021
Latest stable version

Install

.NET CLI
dotnet add package NSubstituteNet6 --version 4.2.2
Package Manager Console
Install-Package NSubstituteNet6 -Version 4.2.2
PackageReference
<PackageReference Include="NSubstituteNet6" Version="4.2.2" />

Frameworks

.NETFramework4.5 .NETFramework4.6 net5.0 net6.0 .NETStandard2.0

Dependencies

Castle.Core
.NETFramework4.5
[4.4.1, )
[4.5.4, )
Castle.Core
.NETFramework4.6
[4.4.1, )
[4.5.4, )
[4.4.1, )
[4.4.1, )
Castle.Core
.NETStandard2.0
[4.4.1, )
[4.5.4, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

NuGet marks this package as deprecated and points to NSubstitute as an alternative.

Compatibility metadata lists 5 target frameworks; 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.