.NET REST Client Framework for all platforms. This package contains abstractions for dependency injection and mocking with no implementations.
Automock implementation using Ninject to create the objects under test.
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.
Various fluent style data generators and extension methods for constrained non-determinism in your unit tests, integration tests, general automation projects and mock-ups.
An extension to AutoFixture to easily work with MockHttp.
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.
Automock implementation for NSubstitute using Ninject to create the objects under test.
This package gives NSubstitute support for AutoMocking with StructureMap
This package helps you to solve expression function in unit test moq framework.
A library to help with unit/accpetance tests of code that relies on an external HTTP service, by allowing you to easily mock one.
A mocking library that creates LazyCache IAppCache system mocks using Moq.
Serilog.Sinks.ListOfString logs to a list of string so you can test your logging : ``` var log= new List<String>(); var testLogger= new LoggerConfiguration().WriteTo.StringList(log).CreateLogger(); ...tests... log.ShouldContain( x=>x.Matches("kilroy was here") ); ``` This is for Serilog. For Microsoft.Extensions.Logging.Abstractions see also https://www.nuget.org/packages/Extensions.Logging.ListOfString/ Part of https://www.nuget.org/packages/TestBase *TestBase* gives you a flying start to unit testing with fluent assertions that are easy to extend, and tools for testing with dependencies on AspNetMvc, HttpClient, Ado.Net, Streams and Loggers.
Easy Mock wrapper for mocking EntityFrameworkCore 3 (EFCore3) DbContext and DbSet using Moq
A mocking library that creates Microsoft.Extensions.Caching.Memory IMemoryCache system mocks using NSubstitute.
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Foq. To use it, add the AutoFoqCustomization to your Fixture instance.
Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using NSubstitute
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.
Extension for Moq that allow to easily mock async methods
Unit testing framework for Sitecore.
.NET library to mock HTTP responses for HttpClient and verify request expectations with an experience inspired by 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.
Silverback is a powerful, elegant, and feature-rich message bus for .NET, designed to simplify asynchronous messaging, event-driven architectures, and microservice communication. With seamless integration for Apache Kafka and MQTT, it offers robust features for reliability, consistency, and scalability. This package adds a mocked implementation of the Kafka broker, suitable for in-memory testing.
Mock DbSet and DbContext mocking amenities for JustMock Lite.
Easily mock HttpClient with canned responses to make testing easier
Adds mocking capabilities to the LightInject service container.
A simple thread-safe version of IJSRuntime for testing with Blazor
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.
Test/mock (3rd party) code reliant on HttpClient, WebClient, HttpWebRequest and WebRequest.Create()
Extending AutoFixture.AutoMoq to automatically Setup all calls on a mocked interface or abstract class.
NTestDataBuilder has been renamed to TestStack.Dossier.
Tools to help write tests for Microdot services.
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.
StructureMap AutoMocking implementation for NSubstitute
BDD style testing framework to allow unit testing with automated mocking, dependency injection and minimum friction based on the XUnit testing library. We at Leaping Gorilla strive to remove as much friction as possible from our testing methodology. To that end we wanted a drop dead simple way to create unit tests that adhered to a few core principles: 1. Must support constructor-based dependency injection 2. Must have the ability to automatically mock any dependencies we wish to use with our item under test 3. Must have the ability to override automatic mocking should the need arise 4. Must support a clean syntax for stubbing method calls on our dependencies 5. Must have a clean BDD style Given/When/Then flow From these needs LeapingGorilla.Testing was born.