Foq 1.8.0
.NET Standard 2.0
.NET Framework 4.0
dotnet add package Foq --version 1.8.0
NuGet\Install-Package Foq -Version 1.8.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="Foq" Version="1.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Foq --version 1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Foq, 1.8.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 Foq as a Cake Addin
#addin nuget:?package=Foq&version=1.8.0
// Install Foq as a Cake Tool
#tool nuget:?package=Foq&version=1.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Foq is a lightweight thread-safe mocking library for F#, C#, and VB with a similar API to 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 | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
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.
-
.NETFramework 4.0
- FSharp.Core (>= 3.0.2)
- System.ValueTuple (>= 4.3.1)
-
.NETFramework 4.5
- FSharp.Core (>= 3.0.2)
- System.ValueTuple (>= 4.3.1)
-
.NETStandard 2.0
- FSharp.Core (>= 4.2.3)
- System.Reflection.Emit (>= 4.3.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Foq:
Package | Downloads |
---|---|
AutoFixture.AutoFoq
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Foq. To use it, add the AutoFoqCustomization to your Fixture instance. |
|
FSpec.AutoFoq
A context/specification test framework, heavily inspired by RSpec |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Foq:
Repository | Stars |
---|---|
AutoFixture/AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
|
|
ForNeVeR/xaml-math
A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
|
|
PiotrJustyna/road-to-orleans
This repository illustrates the road to orleans with practical, real-life examples. From most basic, to more advanced techniques.
|
Version | Downloads | Last updated |
---|---|---|
1.8.0 | 321,991 | 6/29/2018 |
1.7.3 | 21,986 | 10/21/2017 |
1.7.2 | 9,735 | 4/17/2017 |
1.7.1 | 20,226 | 6/14/2015 |
1.7.0 | 3,939 | 3/4/2015 |
1.6.0 | 11,870 | 2/6/2014 |
1.5.1 | 28,810 | 1/27/2014 |
1.5.0 | 1,246 | 1/26/2014 |
1.4.0 | 2,054 | 12/2/2013 |
1.3.0 | 2,437 | 10/24/2013 |
1.2.0 | 1,404 | 10/1/2013 |
1.1.0 | 1,679 | 8/24/2013 |
1.0.0 | 5,108 | 6/20/2013 |
0.9.0 | 1,560 | 3/20/2013 |
0.8.0 | 1,386 | 2/27/2013 |
0.7.0 | 1,342 | 2/12/2013 |
0.6.0 | 1,330 | 1/27/2013 |
0.5.0 | 1,347 | 1/6/2013 |
0.4.0 | 1,285 | 1/3/2013 |
0.3.0 | 1,256 | 12/26/2012 |
0.2.0 | 1,533 | 11/18/2012 |
0.1.0 | 2,925 | 11/17/2012 |
Support for .NET Core/.NET Standard 2.0