NSubstitute is a friendly substitute for .NET mocking libraries. 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.
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Moq. To use it, add the AutoMoqCustomization to your Fixture instance. Read more at http://blog.ploeh.dk/2010/08/19/AutoFixtureAsAnAutomockingContainer.aspx
Automock implementation using Ninject to create the objects under test.
It's faking amazing! The easy mocking library for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze.
Unit testing framework for Sitecore.
Core package for MockQueryable extensions for mocking 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 – that makes use of in-memory data.
Core package for MockQueryable extensions for mocking 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 – that makes use of in-memory data.
Core package for MockQueryable extensions for mocking 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 – that makes use of in-memory data.
A set of pre-built mocks to help when testing file system interactions.
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.
Library that provides methods that will help you with mocking Entity Framework Core. Easily mock DbSet and DbContext for unit testing with Moq.
Autofac extension for automocking and creation of mock objects in Moq.
Rhino Mocks is using Castle Dynamic Proxy (http://www.castleproject.org/dynamicproxy/index.html) to handle proxying the types it needs to mock. The Dynamic Proxy project has been invaluable resource and made creating Rhino Mocks possible.
A set of pre-built mocks to help when testing file system interactions.
Common library for the Light, simple and fast convention-based code-first POCO, OrmLite. Support for Creating and Dropping Table Schemas from POCOs, Complex Property types transparently stored in schemaless text blobs. OrmLite is a suite extension methods on ADO.NET's underlying IDbConnection providing DRY, typed access for common data usage patterns that map to clean, simple POCOs. Great support for testing where OrmLite methods can be mocked.
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
Core package for MockQueryable extensions for mocking 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 – that makes use of in-memory data.
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by FakeItEasy. To use it, add the AutoFakeItEasyCustomization to your Fixture instance.
Automock implementation for NSubstitute using Ninject to create the objects under test.
Provides framework APIs and Attributes for Microsoft Fakes. To generate Fakes code, one needs a VS Enterise install. Additional details can be found at http://aka.ms/MicrosoftFakes.
Automock implementation for RhinoMocks using Ninject to create the objects under test.
C# Fluent API for interacting with Mock-Server
XML-based Mocking adapter for the Simple.Data data access library.
Roslyn analyzer that helps to write unit tests using Moq mocking library by highlighting typical errors and suggesting quick fixes. Port of Resharper extension to Roslyn. Find the full list of detected issues at project GitHub page.
These are the main files from StructureMap to implement AutoMocking using MOQ. The repository had an outdated version of MOQ and the orginal developer wasn't interested in maintaining.
HttpContextMoq is an implementation of AspNetCore.Http.HttpContext that stores a Mock instance and works as a proxy for the real Mock.
Easy to use framework for creating mock objects, fakes, stubs with an intuitive and fluent API
ServiceFabric.Mocks contains many mocks and helper classes to facilitate and simplify unit testing of your Service Fabric Actor and Service projects.
Core package for MockQueryable extensions for mocking 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 – that makes use of in-memory data.
An abstract/virtual filesystem framework with many built-ins filesystems for .NET
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 = EntityFrameworkCore 5 EntityFrameworkCore.Testing v4.x = EntityFrameworkCore 6 EntityFrameworkCore.Testing v5.x = EntityFrameworkCore 7 EntityFrameworkCore.Testing v8.x = EntityFrameworkCore 8 EntityFrameworkCore.Testing v9.x = EntityFrameworkCore 9 EntityFrameworkCore.Testing v10.x = EntityFrameworkCore 10 EntityFrameworkCore.Testing v11.x = EntityFrameworkCore 11
Unofficial automatically-generated interfaces for the cross platform APIs exposed by Xamarin.Essentials. Suitable for mocking and for applications using dependency injection.
Library for running Xamarin.Forms inside of unit tests
Autofac extension supporting generation of FakeItEasy objects.
Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using Moq
A light abstraction around Dapper and Dapper.Contrib that also maintains the behavior IDbConnection. This library facilitates a loosely coupled design and unit testing.