Top 20 NuGet Packages depending on NSubstitute
Total dependencies: 144
Some generic test utilites.
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by NSubstitute. To use it, add the AutoNSubstituteCustomization to your Fixture instance.
Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc.
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – th...
Helpers for testing when using PeanutButter.DatabaseHelpers
Test helpers to use in conjunction with PeanutButter.Async, allowing your tests to
treat tasks as if they were run synchronously.
Xunit-based testing base classes with support for dependency injection. Libraries supporting specific DI containers (SimpleInjector, ServiceProvider) are in separate packages.
Adds relational support to the Microsoft EntityFrameworkCore in-memory database provider by mocking relational operations.
EntityFrameworkCore.Testing v1.x = EntityFrameworkCore 2 (2.1.0+)
EntityFrameworkCore.Testing v2.x = EntityFrameworkCore 3
EntityFrameworkCore.Testing v3.x = EntityFrameworkCor...
A C# library complementing the Bogus generator by adding auto creation and population capabilities. This package includes mocking options using NSubtitute.
This library offers NSubistitute-specific extensions so you can have Expect-style
syntax for your NSubstitute assertions. For example, one may previously have done:
```
Expect(result).To.Equal(expected);
someService.Received(1).SomeMethodCall();
```
and now you ca...
Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using NSubstitute
Accelerates preparation of mocked structures for unit tests under xUnit2 by configuring AutoFixture data generation to use NSubstitute. Gracefully handles recursive structures by omitting recursions.
Event Sourcing, CQRS and DDD framework for modern C#/.NET applications.
Infrastructure for testing framework apps.
Autofac extension supporting generation of NSubstitute objects.
Package Description
A mocking library that creates LazyCache IAppCache system mocks using NSubstitute.
Easify support for testing projects for UnitOfWork and Ef Core
FunFair Common Test Infrastructure for building xUnit tests on top of.
Package Description
Package Description
Common tools for writing tests using XUnit, AutoFixture, NSubstitute and FluentAssertions.