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 2.0.0-alpha002
Install-Package NSubstitute -Version 2.0.0-alpha002
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [3.3.3, ) |
| 包名 | 版本要求 |
|---|---|
| Castle.Core | [3.3.3, ) |
| 包名 | 版本要求 |
|---|---|
| System.Collections | [4.0.10, ) |
| System.Collections.Concurrent | [4.0.10, ) |
| System.Linq | [4.0.0, ) |
| System.Threading | [4.0.10, ) |
| System.Runtime | [4.0.20, ) |
| Microsoft.CSharp | [4.0.0, ) |
| Castle.Core | [4.0.0-alpha001, ) |
| System.Linq.Queryable | [4.0.1-rc2-24027, ) |
| 作者 | Anthony Egerton,David Tchepak,Alexandr Nikitin |
|---|---|
| 发布时间 | 1900-01-01 00:00:00 |
| 项目主页 | http://nsubstitute.github.com/ |
| 许可证 | https://github.com/nsubstitute/NSubstitute/raw/master/LICENSE.txt |