What is 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.5 and 4.7, as well as .NET Core 2.0, .NET Core 3.0, .NET Standard 1.3, 1.6 and 2.0.
Fluent Assertions is a tool in the Testing Frameworks category of a tech stack.
Who uses Fluent Assertions?
Companies
4 companies reportedly use Fluent Assertions in their tech stacks, including XYZ Technology, Planally, and Industry Applications.
Developers
10 developers on StackShare have stated that they use Fluent Assertions.
Fluent Assertions Integrations
Decisions about Fluent Assertions
Here are some stack decisions, common use cases and reviews by companies and developers who chose Fluent Assertions in their tech stack.
Spero Larres
I'm going to be writing a BDD driven app, initially just to run in a browser. I intend to write tests in typescript. I was very impressed with Fluent Assertions, as demonstrated in the Pluralsight course "Pragmatic Behavior-driven Design with .NET" by Rob Conery. He used it together with xUnit.net. I want to be able to run front end tests in a similar fashion. So far, I've only found one candidate in this vein, assertchain-jasmine (on GitHub). It's a much smaller library than FluentAssertions.
Fluent Assertions's Features
- Intention-Revealing Unit Tests
- Targets .NET 4.5, .NET 4.7, .NET Core 2.0, .NET Standard 1.3, 1.6 and 2.0 and is compatible .NET Core 3.0
- Supports MSTest, xUnit, NUnit, Gallio, MBUnit, MSpec and NSpec.
Fluent Assertions Alternatives & Comparisons
What are some alternatives to Fluent Assertions?
xUnit
It is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. It works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
NUnit
An evolving, open source framework designed for writing and running tests in Microsoft .NET programming languages.It is an aspect of test-driven development , which is part of a larger software design paradigm known as Extreme Programming
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.