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 3.0.1
Install-Package NSubstitute -Version 3.0.1
| 包名 | 版本要求 |
|---|---|
| NETStandard.Library | [1.6.1, ) |
| Castle.Core | [4.2.0, ) |
| System.Linq.Queryable | [4.3.0, ) |
| System.Reflection.TypeExtensions | [4.3.0, ) |
| 作者 | Anthony Egerton,David Tchepak,Alexandr Nikitin |
|---|---|
| 发布时间 | 2017-10-08 22:17:23 |
| 项目主页 | http://nsubstitute.github.com/ |
| 许可证 | https://github.com/nsubstitute/NSubstitute/raw/master/LICENSE.txt |