NFluent 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NFluent --version 1.2.0
NuGet\Install-Package NFluent -Version 1.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="NFluent" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NFluent --version 1.2.0
#r "nuget: NFluent, 1.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 NFluent as a Cake Addin
#addin nuget:?package=NFluent&version=1.2.0

// Install NFluent as a Cake Tool
#tool nuget:?package=NFluent&version=1.2.0

NFluent is an ergonomic check library which aims to fluent your .NET TDD experience (based on simple Check.That() check statements). NFluent aims your tests to be fluent to write (with an happy 'dot' auto completion experience), fluent to read (i.e. as close as possible to plain English expression), but also fluent to troubleshoot, in a less-error-prone way comparing to the classical .NET test frameworks. NFluent is directly, but also freely, inspired by the awesome Java FEST fluent check/reflection library (

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on NFluent:

Package Downloads

NFluent checks for checking HttpResponseMessages.


Iago is a tool to write bdd like tests in kre. use `iago.runner` to execute your tests


A library for writing flexible and easy to maintain acceptance tests


multi dimension dictionary with expiration mechanism for cache invalidation


Iago runner is a tool to run bdd like tests in kre

GitHub repositories (15)

Showing the top 5 popular GitHub repositories that depend on NFluent:

Repository Stars
More than a ReClass port to the .NET platform.
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from, but extended with more functionality.
The FileHelpers are a free and easy to use .NET library to read/write data from fixed length or delimited records in files, strings or streams
This repository was deprecated, use:
Entity Component System framework aiming for syntax and usage simplicity with maximum performance for game development.
Version Downloads Last updated
3.0.3 5,828 1/12/2024
3.0.3-beta 314 12/13/2023 6,061 12/12/2023 821 10/13/2023 55,207 6/9/2023 19,747 5/6/2023 9,842 3/3/2022 566 2/27/2022 560 2/27/2022 578 2/24/2022
2.8.0 444,417 2/4/2022
2.7.2 252,643 4/8/2021
2.7.1 93,030 12/29/2020
2.7.0 301,763 2/11/2020
2.6.0 202,865 8/19/2019
2.5.0 163,102 3/12/2019
2.4.0 114,717 10/2/2018
2.3.1 89,753 6/12/2018
2.3.0 2,177 6/9/2018
2.2.0 87,028 2/10/2018
2.1.1 27,888 1/5/2018
2.1.0 12,099 12/10/2017
2.0.0 63,663 6/27/2017
2.0.0-alpha-44 2,323 5/10/2017
1.3.1 225,174 7/28/2014
1.2.0 9,097 6/16/2014
1.1.0 5,171 2/14/2014
1.0.0 4,168 12/31/2013
0.11.0 2,242 11/26/2013
0.9.0 2,293 8/6/2013
0.8.0 2,160 7/6/2013
0.7.0 1,973 6/4/2013
0.6.0 1,936 5/19/2013
0.5.0 1,969 4/21/2013

New feature(s):

* Adds IsSetWithin check for EventWaitHandle types (ex. Manual or AutoResetEvent)

* Adds IsOneOfThese() check for string.

* NFluent is now also available as a Portable Class Library (Profile: portable-net45+sl5+netcore45+MonoAndroid1+MonoTouch1)

* Adds IsNaN() check for double and float.

* Adds IsFinite() check for double and float.



* Renames the Properties extension method on IEnumerable to Extracting. Properties is still there, but marked as obsolete.

* Improves error messages for IsInstanceOf checks.

* IsNull, IsNotNull, IsSameReferenceThan, IsDistinctFrom, HasFieldsWithSameValues and HasNotFieldsWithSameValues are now able to conserve the checked typed (instead of loosing it by converting it into a object).

* InheritsFrom does not return a linkable check anymore (but void).


Bug Fixe(s):

* Fixes a null ref exception for Contains on null

* Fixes a null ref exception for HasFieldsWithSameValues

* Fixes Invalid exceptions on strings with curly braces