NSubstitute is a friendly substitute for .NET mocking framekworks. 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
Install-Package NSubstitute
| 作者 | Anthony Egerton,David Tchepak |
|---|---|
| 最新版本 | 6.0.0-rc.1 |