C# Mock

Open-source C# projects categorized as Mock

Top 9 C# Mock Projects

  • NSubstitute

    A friendly substitute for .NET mocking libraries.

  • Project mention: What am I missing about interfaces? | /r/csharp | 2023-11-23

    a. you might do so purely out of argo cult, i.e. because someone told you this was the right thing to do™, and that's a silly exercise. b. you could also be doing this for a good reason: to use the interface with a mocking tool like NSubstitute

  • List-of-Testing-Tools-and-Frameworks-for-.NET

    ✅ List of Automated Testing (TDD/BDD/ATDD/SBE) Tools and Frameworks for .NET

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Mockaco

    🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting

  • fake-xrm-easy

    The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you

  • Moq.Contrib.HttpClient

    A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.

  • entity-framework-core-mock

    Easy Mock wrapper for mocking EFCore5 DbContext and DbSet using Moq or NSubstitute

  • Project mention: Repository and Unit Of Work | /r/dotnet | 2023-06-22

    There's a neat little package called EntityFrameworkCoreMock that supports the use case. Sure, you can hit some issues with more complex configuration or queries, but it can cover a lot of cases out of the box. Since we use Moq at work and the context/dbset mocks inherit from Mock, we are able to setup almost everything we need.

  • CreateAndFake

    A C# class library that handles mocking, test data generation, and validation.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • DivertR

    The .NET mocking framework for integration testing.

  • Project mention: Since v4.20, Moq is harvesting email addresses | news.ycombinator.com | 2023-08-08

    If you're looking for alternatives to Moq please check out DivertR, a mocking framework I have created https://github.com/devodo/DivertR

  • azure.functions.tables

    Azure Function with new Table Storage binding and connection by identity

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Mock related posts

Index

What are some of the best open-source Mock projects in C#? This list will help you:

Project Stars
1 NSubstitute 2,550
2 List-of-Testing-Tools-and-Frameworks-for-.NET 513
3 Mockaco 317
4 fake-xrm-easy 263
5 Moq.Contrib.HttpClient 184
6 entity-framework-core-mock 131
7 CreateAndFake 11
8 DivertR 10
9 azure.functions.tables 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com