FastMoq
Search Results for

    FastMoq Documentation

    This site combines generated API reference with real-world example documentation for the current FastMoq 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 new package split, 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, database helpers, and web support.

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

    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
    • MockWrapper<T>
    • MockingProviderRegistry

    FastMoq.Provider.NSubstitute

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

    • NSubstitute provider types
    • IMockingProvider
    • MockingProviderRegistry

    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-08 00:16 UTC