FastMoq
Search Results for

    FastMoq Documentation

    This site combines generated API reference with real-world example documentation for the published FastMoq 4.1.0 line and the current v4 codebase.

    New to FastMoq

    • Quick reference for common types
    • Executable testing examples
    • Provider selection guide
    • Getting started guide
    • Testing guide

    Upgrading to v4

    • The release delta from 3.0.0 is centered on provider-first architecture, the expanded package split, first-party Azure SDK and Azure Functions helpers, analyzer-by-default aggregate installs, explicit policy surfaces, provider-neutral verification, and the scenario builder.

    • Start with the release summary, then use the breaking-change and migration pages to decide how much compatibility behavior your test suites still need.

    • Migration guide

    • What's new since 3.0.0

    • Breaking changes

    • Provider selection guide

    Looking for an API

    • Quick reference for common types
    • Core namespace reference
    • Provider APIs
    • Extension methods
    • Blazor and web APIs
    • Models and helper types
    • API overview page

    Real-world examples

    Use the example pages first when you want to understand how FastMoq is applied in tests, then drop into API reference pages when you need the exact shape of a type or member.

    • Executable testing examples
    • Sample applications overview
    • TestingExample project README

    Blazor and web testing

    • MockerBlazorTestBase<T>
    • IMockerBlazorTestHelpers<T>
    • TestWebExtensions

    Quick type lookup

    • Quick reference for common types
    • Mocker
    • MockerTestBase<TComponent>
    • ScenarioBuilder<T>
    • MockingProviderRegistry

    How to find a type fast

    • Use the top-right search box for exact names such as Mocker, MockerTestBase, or ScenarioBuilder.
    • Use Quick reference for common types when you want one-click links to the most-used APIs.
    • Use the left-side site navigation when you want to browse by topic instead of by type name.

    Package map

    FastMoq

    The aggregate package that pulls together the core runtime, shared Azure SDK helpers, Azure Functions helpers, database helpers, web support, provider integrations, and analyzer assets.

    • FastMoq namespace
    • Extension methods
    • Provider APIs
    • Web and Blazor APIs

    FastMoq.Azure

    Shared Azure SDK helpers for pageable builders, credential setup, Azure-oriented configuration or service-provider flows, and common client registration.

    • Getting started package choices
    • Sample applications overview
    • What's new since 3.0.0

    FastMoq.AzureFunctions

    Azure Functions worker and HTTP-trigger helpers, including FunctionContext.InstanceServices, concrete HttpRequestData and HttpResponseData builders, and body readers.

    • Azure Functions extensions namespace
    • FunctionContextTestExtensions
    • Testing guide

    FastMoq.Abstractions

    Provider contracts shared by the core runtime and provider-specific packages.

    • Provider APIs
    • IMockingProvider
    • IMockingProviderCapabilities

    FastMoq.Core

    Core mocking, auto-construction, instance resolution, and provider-neutral verification support.

    • Mocker
    • MockerTestBase<TComponent>
    • ScenarioBuilder<T>
    • MockingProviderRegistry
    • TimesSpec

    FastMoq.Database

    EF and DbContext-oriented helpers that stay exposed through the main FastMoq namespace.

    • DbContextMockerExtensions
    • DbContextHandle<TContext>
    • DbContextHandleOptions<TContext>
    • DbContextTestMode

    FastMoq.Web

    Blazor and web-oriented testing helpers.

    • MockerBlazorTestBase<T>
    • IMockerBlazorTestHelpers<T>
    • Blazor namespace

    FastMoq.Provider.Moq

    Moq compatibility provider package for v4 migration and existing Moq-heavy tests.

    • Moq provider types
    • IFastMock<T>
    • MockingProviderRegistry

    FastMoq.Provider.NSubstitute

    Optional NSubstitute provider package for teams standardizing on NSubstitute instead of Moq.

    • NSubstitute provider types
    • IMockingProvider
    • MockingProviderRegistry

    FastMoq.Analyzers

    Roslyn analyzers and code fixes for provider-first guidance and migration cleanup. These analyzer assets are included by default in the aggregate FastMoq package.

    • Getting started package choices
    • Migration guide

    Provider-first APIs

    FastMoq v4 defaults to the built-in reflection provider. Moq remains available as a compatibility provider, and additional providers can be added explicitly.

    • IMockingProvider
    • IMockingProviderCapabilities
    • MockCreationOptions
    • Moq provider types
    • NSubstitute provider types

    Notes

    • Generated API reference from XML comments across the FastMoq projects
    • Conceptual example pages published from the repository's sample documentation
    • Searchable HTML output suitable for GitHub Pages and the help.fastmoq.com host
    • A reproducible build path using the pinned local DocFX tool manifest
    In this article
    Back to top
    Generated 2026-04-12 00:48 UTC