日本語のみで絞り込む

NSubstitute is open source software, licensed under the BSD License. The NSubstitute project is possible thanks to a number of other software projects. We ...

Getting started-Creating a substitute-Docs and getting help

NSubstitute is designed as a friendly substitute for .NET mocking libraries. It is an attempt to satisfy our craving for a mocking library with a succinct ...

First add the NSubstitute NuGet package to your test project using NuGet (either the command line executable, or via the package manager in your IDE).

NSubstitute is a friendly substitute for .NET mocking libraries. It has a simple, succinct syntax to help developers write clearer tests.

2023/9/23 -A friendly substitute for .NET mocking frameworks. NSubstitute has 3 repositories available. Follow their code on GitHub.

2024/2/26 -NSubstitute simplifies the process of creating mock objects, allowing us to simulate dependencies' behaviors and return values, and verifying ...

2023/5/13 -In this article, I'll demonstrate how to effectively unit test C# code that has dependencies, substituting them in a way that keeps your ...

Become a Patreon and get source code access: https://www.patreon.com/nickchapsas Check out my courses: https://dometrain.com The giveaway is ...

YouTube-Nick Chapsas

2020/10/6 -This article will introduce you to the three major mocking frameworks for .NET: NSubstitute, Moq, and FakeItEasy. Get help deciding which ...

2020/10/16 -NSubsitute has a simple way to verify that a method was called but Moq has more options to test how many times the method was executed. Winner ...