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.
Latest version: 8.2.0Vulnerabilities | |||||
---|---|---|---|---|---|
Version | Suggest | Low | Medium | High | Critical |
8.2.0 | 0 | 0 | 0 | 0 | 0 |
8.1.1 | 0 | 0 | 0 | 0 | 0 |
8.1.0 | 0 | 0 | 0 | 0 | 0 |
8.0.1 | 0 | 0 | 0 | 0 | 0 |
8.0.0 | 0 | 0 | 0 | 0 | 0 |
7.2.0 | 0 | 0 | 0 | 0 | 0 |
7.1.0 | 0 | 0 | 0 | 0 | 0 |
7.0.0 | 0 | 0 | 0 | 0 | 0 |
6.12.2 | 0 | 0 | 0 | 0 | 0 |
6.12.1 | 0 | 0 | 0 | 0 | 0 |
6.12.0 | 0 | 0 | 0 | 0 | 0 |
6.11.0 | 0 | 0 | 0 | 0 | 0 |
6.10.0 | 0 | 0 | 0 | 0 | 0 |
6.9.0 | 0 | 0 | 0 | 0 | 0 |
6.8.0 | 0 | 0 | 0 | 0 | 0 |
6.7.0 | 0 | 0 | 0 | 0 | 0 |
6.6.0 | 0 | 0 | 0 | 0 | 0 |
6.5.1 | 0 | 0 | 0 | 0 | 0 |
6.5.0 | 0 | 0 | 0 | 0 | 0 |
6.4.0 | 0 | 0 | 0 | 0 | 0 |
6.3.0 | 0 | 0 | 0 | 0 | 0 |
6.2.0 | 0 | 0 | 0 | 0 | 0 |
6.1.0 | 0 | 0 | 0 | 0 | 0 |
6.0.0 | 0 | 0 | 0 | 0 | 0 |
5.10.3 | 0 | 0 | 0 | 0 | 0 |
5.10.2 | 0 | 0 | 0 | 0 | 0 |
5.10.0 | 0 | 0 | 0 | 0 | 0 |
5.9.0 | 0 | 0 | 0 | 0 | 0 |
5.8.0 | 0 | 0 | 0 | 0 | 0 |
5.7.0 |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 0 |
4.3.1 | 0 | 0 | 0 | 0 | 0 |
4.3.0 | 0 | 0 | 0 | 0 | 0 |
4.2.2 | 0 | 0 | 0 | 0 | 0 |
4.2.1 | 0 | 0 | 0 | 0 | 0 |
4.2.0 | 0 | 0 | 0 | 0 | 0 |
4.1.1 | 0 | 0 | 0 | 0 | 0 |
4.1.0 | 0 | 0 | 0 | 0 | 0 |
4.0.1 | 0 | 0 | 0 | 0 | 0 |
4.0.0 | 0 | 0 | 0 | 0 | 0 |
3.5.0 | 0 | 0 | 0 | 0 | 0 |
3.4.1 | 0 | 0 | 0 | 0 | 0 |
3.4.0 | 0 | 0 | 0 | 0 | 0 |
3.3.0 | 0 | 0 | 0 | 0 | 0 |
3.2.2 | 0 | 0 | 0 | 0 | 0 |
3.2.1 | 0 | 0 | 0 | 0 | 0 |
3.1.229 | 0 | 0 | 0 | 0 | 0 |
3.0.107 | 0 | 0 | 0 | 0 | 0 |
2.2.0 | 0 | 0 | 0 | 0 | 0 |
2.1.0 | 0 | 0 | 0 | 0 | 0 |
2.0.1 | 0 | 0 | 0 | 0 | 0 |
2.0.0.1 | 0 | 0 | 0 | 0 | 0 |
1.7.1.1 | 0 | 0 | 0 | 0 | 0 |
1.7.0 | 0 | 0 | 0 | 0 | 0 |
1.6.0 | 0 | 0 | 0 | 0 | 0 |
1.5.0 | 0 | 0 | 0 | 0 | 0 |
1.4.0 | 0 | 0 | 0 | 0 | 0 |
1.3.0.1 | 0 | 0 | 0 | 0 | 0 |
8.2.0 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
PROPRIETARY - PROPRIETARYExtension methods to fluently assert the outcome of .NET tests
Fluent Assertions provides a comprehensive set of extension methods that enable developers to express the expected outcomes of TDD (Test-Driven Development) and BDD (Behavior-Driven Development) unit tests in a natural, readable style. It is compatible with .NET Standard 2.0+, .NET Framework 4.7+, and .NET 6+.
Versions 8 and beyond are free for open-source projects and non-commercial use, but commercial use requires a paid license. Check out the license page for more information. Version 7 will remain fully open-source indefinitely and receive bugfixes and other important corrections.
Visit https://www.fluentassertions.com for background information, usage documentation, an extensibility guide, support information and more tips & tricks.
Originally authored by Dennis Doomen with Jonas Nyrup as the productive side-kick. Xceed is now an official Partner to Fluent Assertions! Learn what this partnership means for our users. After extensive discussions with the Fluent Assertions team, we are thrilled about the future of the product and look forward to its continued growth and development.
Install Visual Studio 2022 17.8+ or JetBrains Rider 2021.3 as well as the Build Tools 2022 (including the Universal Windows Platform build tools). You will also need to have .NET Framework 4.7 SDK and .NET 8.0 SDK installed. Check the global.json for the current minimum required version.
This is a special set of tests that use the Verify project to verify whether you've introduced any breaking changes in the public API of the library.
If you've verified the changes and decided they are valid, you can accept them using AcceptApiChanges.ps1
or AcceptApiChanges.sh
. Alternatively, you can use the Verify Support plug-in to compare the changes and accept them right from inside Rider. See also the Contribution Guidelines.