Autofac.Extras.Moq 3.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Autofac.Extras.Moq --version 3.0.2                
NuGet\Install-Package Autofac.Extras.Moq -Version 3.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Autofac.Extras.Moq" Version="3.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Autofac.Extras.Moq --version 3.0.2                
#r "nuget: Autofac.Extras.Moq, 3.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Autofac.Extras.Moq as a Cake Addin
#addin nuget:?package=Autofac.Extras.Moq&version=3.0.2

// Install Autofac.Extras.Moq as a Cake Tool
#tool nuget:?package=Autofac.Extras.Moq&version=3.0.2                

This extension provides support for automocking and creation of mock objects in Moq using Autofac.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
    • Autofac (>= 3.3.1 && < 4.0.0)
    • Moq (>= 4.2.1312.1622)

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Autofac.Extras.Moq:

Package Downloads

Simple test fixture pattern


A small wrapper over AutoMock to simplify writing tests for Xunit.


Simple test fixture pattern


Unit Testing Support for JRevolt.Injection



GitHub repositories (16)

Showing the top 5 popular GitHub repositories that depend on Autofac.Extras.Moq:

Repository Stars
A toolkit for developing high-performance HTTP reverse proxy applications.
A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
The main repository for all the Code Maze guides
DevArchitecture Backend Project
Restaurant App 🍔 is a sample open-source e-Commerce 🛒 application for ordering foods, powered by polyglot microservices architecture and cross-platform development including mobile and web
Version Downloads Last updated
6.1.1 883,507 7/26/2023
6.1.0 2,994,894 10/21/2021
6.0.0 1,978,400 10/2/2020
5.0.1 1,113,405 3/22/2020
5.0.0 84,675 2/25/2020
4.3.0 2,762,535 10/23/2018
4.2.0 822,949 10/2/2017
4.1.0 24,753 9/28/2017
4.1.0-rc5-246 23,178 1/30/2017
4.1.0-rc4-242 936 1/29/2017
4.1.0-rc3-231 24,732 7/13/2016
4.0.0 1,239,246 10/13/2015
3.1.0 95,157 6/8/2015
3.0.2 70,718 3/27/2014
3.0.1 9,141 9/23/2013
3.0.0 10,588 1/30/2013
3.0.0-beta2 1,227 12/23/2012
3.0.0-beta 1,492 11/1/2012