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 4.2.2
Install-Package NSubstitute -Version 4.2.2
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.4.0, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.4.0, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.4.0, ) |
| NETStandard.Library | [1.6.1, ) |
| System.Linq.Queryable | [4.3.0, ) |
| System.Reflection.TypeExtensions | [4.3.0, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.4.0, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 作者 | Anthony Egerton,David Tchepak,Alexandr Nikitin,Alex Povar |
|---|---|
| 发布时间 | 2020-06-13 05:51:58 |
| 项目主页 | https://nsubstitute.github.io/ |
| 许可证 | https://www.nuget.org/packages/NSubstitute/4.2.2/license |