Autofac.Extras.Moq 4.2.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 1.3 .NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
dotnet add package Autofac.Extras.Moq --version 4.2.0
NuGet\Install-Package Autofac.Extras.Moq -Version 4.2.0
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="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Autofac.Extras.Moq --version 4.2.0
#r "nuget: Autofac.Extras.Moq, 4.2.0"
#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=4.2.0

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

Autofac extension for automocking and creation of mock objects in Moq.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (15)

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 (14)

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 tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
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
Retro hardware libraries in .NET Core with an Angular front end
Version Downloads Last updated
6.1.0 1,232,189 10/21/2021
6.0.0 1,422,322 10/2/2020
5.0.1 861,458 3/22/2020
5.0.0 67,663 2/25/2020
4.3.0 2,307,981 10/23/2018
4.2.0 747,049 10/2/2017
4.1.0 18,095 9/28/2017
4.1.0-rc5-246 22,843 1/30/2017
4.1.0-rc4-242 828 1/29/2017
4.1.0-rc3-231 23,779 7/13/2016
4.0.0 1,104,249 10/13/2015
3.1.0 81,622 6/8/2015
3.0.2 65,083 3/27/2014
3.0.1 7,341 9/23/2013
3.0.0 5,977 1/30/2013
3.0.0-beta2 1,102 12/23/2012
3.0.0-beta 1,353 11/1/2012