Skip to main content
DependencyModules.xUnit.NSubstitute package icon

DependencyModules.xUnit.NSubstitute

NSubstitute mocking support for DependencyModules.xUnit. Add [NSubstituteSupport] to resolve any unregistered dependency as an NSubstitute mock, and use [Mock] on a test parameter to inject and configure it.

Total Downloads
11.2K
11,183
Published
Jan 1, 1900
Latest stable version

Install

.NET CLI
dotnet add package DependencyModules.xUnit.NSubstitute --version 1.0.0-rc9200
Package Manager Console
Install-Package DependencyModules.xUnit.NSubstitute -Version 1.0.0-rc9200
PackageReference
<PackageReference Include="DependencyModules.xUnit.NSubstitute" Version="1.0.0-rc9200" />

Frameworks

net8.0

Dependencies

[1.0.0-rc9200, )
[1.0.0-rc9200, )
[5.3.0, )
xunit.v3
net8.0
[1.0.0, )
[1.0.0, )

Adoption guide

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

This version is marked prerelease. Validate its API and upgrade path before production use.

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

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.