NFluent VS Expecto

Compare NFluent vs Expecto and see what are their differences.

NFluent

Smooth your .NET TDD experience with NFluent! NFluent is an ergonomic assertion library which aims to fluent your .NET TDD experience (based on simple Check.That() assertion statements). NFluent aims your tests to be fluent to write (with a super-duper-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 also directly inspired by the awesome Java FEST Fluent assertion/reflection library (http://fest.easytesting.org/) (by tpierrain)

Expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone! (by haf)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
NFluent Expecto
- 2
308 654
- -
5.6 6.6
about 1 month ago 7 days ago
C# F#
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

NFluent

Posts with mentions or reviews of NFluent. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning NFluent yet.
Tracking mentions began in Dec 2020.

Expecto

Posts with mentions or reviews of Expecto. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-15.
  • Resources to learn the F# ecosystem
    3 projects | /r/fsharp | 15 Oct 2022
    Unit testing: I personally use FsUnit, specifically FsUnit.Xunit. There's some other libraries like Expecto and Hedgehog (property testing), but I haven't found a reason to use them. I recently started experimenting a little with Hedgehog. FsUnit integrates well into Visual Studio, since it sits nicely on top of NUnit and xUnit, and it's done everything I've needed so far.
  • Das.Test - an opinionated unit testing library written in F# for F#
    3 projects | /r/fsharp | 6 Feb 2022
    Beside, did you try Expecto? https://github.com/haf/expecto

What are some alternatives?

When comparing NFluent and Expecto you can also consider the following projects:

Fluent Assertions - A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.

xUnit - xUnit.net is a free, open source, community-focused unit testing tool for .NET.

Shouldly - Should testing for .NET—the way assertions should be!

FsCheck - Random Testing for .NET

NUnit - NUnit Framework

Fine Code Coverage - Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)

should - Should Assertion Library

Canopy - f# web automation and testing library, built on top of Selenium (friendly to c# also)

Moq - Repo for managing Moq 4.x [Moved to: https://github.com/moq/moq]

Fuchu - Functional test library for F# / C# / VB.NET