140 packages tagged with “mocks”
Moq is the most popular and friendly mocking framework for .NET.
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.
Unit testing framework for Sitecore.
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.
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.
Library for running Xamarin.Forms inside of unit tests
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.
HttpContextMoq is an implementation of AspNetCore.Http.HttpContext that stores a Mock instance and works as a proxy for the real Mock.
The most powerful free mocking library available for .NET developers.
It's what a Mocking Framework should be. Powerful. And it's the first of its kind.
Set of interfaces of .NET system APIs that allows interaction mocking.
Contributed features and third-party integration for Moq.
Implementation of SystemWrapper.Interfaces using standard .NET Framework objects.
Autofac extension supporting generation of FakeItEasy objects.
Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks.
Extension methods for setupping mock values of Microsoft.Extensions.Configuration.IConfiguration.
Contains Moq argument matchers using FluentAssertions
Foq is a lightweight thread-safe mocking library for F#, C#, and VB with a similar API to Moq.
A test library to help in writing unit and integration tests for Visual Studio extensions. Xunit v2 test projects should consume via the Microsoft.VisualStudio.Sdk.TestFramework.Xunit package. Xunit v3 test projects should consume via the Microsoft.VisualStudio.Sdk.TestFramework.Xunit.v3 package.
A test library to help in writing unit and integration tests for Visual Studio extensions.
Library-level Fakes for your favorite POCO classes.
Tools to help write tests for Microdot services.
Easy to use framework for creating mock objects, fakes, stubs with an intuitive and fluent API