FindSoftware

NSubstitute

Test double library for .NET that creates substitutes for interfaces and virtual class members, used in arrange-act-assert tests.

NSubstitute is a test double library for .NET test code, used in arrange-act-assert tests. The project ships it as a NuGet package, and its README lists optional Roslyn analysers for C# and Visual Basic projects as separate packages.

Identity

Status
Active
Maintainer
Anthony Egerton, David Tchepak, Alexandr Nikitin and Oleksandr Povar5
First release
20094

Rendering and deploy

Install with
nuget1

Releases

Current major version
68
Last release
2026-08-118

Adoption

GitHub stars
2,9832
Contributors
739
Dependent packages
12810

Why these figures do not compare

Sources

  1. 2026-11-16: links, Categories, Install with
    nsubstitute.github.io/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/nsubstitute/NSubstitute
  3. 2026-11-16: links
    nsubstitute.github.io/help/creating-a-substitute/
  4. 2026-11-16: First release
    api.github.com/repos/nsubstitute/NSubstitute/commits/b63bbd1eb8004a4c3a7ac1c48016ab3ce29bba89
  5. 2026-11-16: Maintainer, License
    raw.githubusercontent.com/nsubstitute/NSubstitute/v6.2.0/src/NSubstitute/NSubstitute.csproj
  6. 2026-11-16: Runtime
    raw.githubusercontent.com/nsubstitute/NSubstitute/v6.2.0/README.md
  7. 2026-11-16: License model
    raw.githubusercontent.com/nsubstitute/NSubstitute/v6.2.0/LICENSE.txt
  8. 2026-11-16: Current major version, Last release
    api.github.com/repos/nsubstitute/NSubstitute/releases
  9. 2026-11-16: Contributors
    api.github.com/repos/nsubstitute/NSubstitute/contributors?per_page=1
  10. 2026-11-16: Dependent packages
    packages.ecosyste.ms/api/v1/registries/nuget.org/packages/NSubstitute

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON