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.
dotnet add package NSubstitute --version 5.3.0
Install-Package NSubstitute -Version 5.3.0
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [5.1.1, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [5.1.1, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [5.1.1, ) |
| 作者 | Anthony Egerton,David Tchepak,Alexandr Nikitin,Oleksandr Povar |
|---|---|
| 发布时间 | 2024-10-28 10:07:40 |
| 项目主页 | https://nsubstitute.github.io/ |
| 许可证 | https://www.nuget.org/packages/NSubstitute/5.3.0/license |