Top 20 NuGet mock Packages
NetMock is a .NET network service mock framework, inspired by Moq syntax, providing the ability to mock REST and web socket APIs from within a test framework of choice.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. Mocklis.MockGenerator contains the code generation packaged as a Roslyn Analyzer/Code fix pair.
An XrmToolBox plugin that can be used to generate the XRM form model for xrm-mock test framework.
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Provides the ability to send HttpWebRequest and get HttpWebResponses without a server. You can mock all available properties from HttpWebResponse .Net object with a json configuration file. This tool is not intrusive. With dependency injection you can simply switch between your own implementation o...
Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. by Moq 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 tes...
It is not easy to mock non-virtual and non-abstract members of a class (such as System.Net.Webclient) for implement test cases. This project contains three derived classes from System.Net namespace which are provide help to get expected responses from a http server invocation. System.Net.WebClientTe...
*TestBase* gives you a flying start with - fluent assertions that are easy to extend - sharp error messages - tools to help you test with “heavyweight” dependencies on - AspNetCore.Mvc, AspNet.Mvc or WebApi Contexts - HttpClient - Ado.Net - Streams & Logging - Mix & match with your favouri...
Adds support for implementing mocks consistently and pass test data to be used in mocks.
HTTP server mock is a really useful tool for testing, it will help you to mock HTTP requests.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. This package contains an ILogContext which writes to a Serilog ILogger.
Mocklis is a library and source code generator for .net, targeted at generating test doubles from interfaces. This package contains experimental code that might some day make it to the Mocklis or Mocklis.Core packages.