NSubstitute is a friendly substitute for .NET mocking frameworks. 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.0.0
Install-Package NSubstitute -Version 4.0.0
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.3.1, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.3.1, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [4.3.1, ) |
| 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.3.1, ) |
| System.Threading.Tasks.Extensions | [4.3.0, ) |
| 作者 | Anthony Egerton,David Tchepak,Alexandr Nikitin,Alex Povar |
|---|---|
| 发布时间 | 2019-01-30 09:49:19 |
| 项目主页 | http://nsubstitute.github.com/ |
| 许可证 | https://github.com/nsubstitute/NSubstitute/raw/master/LICENSE.txt |