FluentAssertions 1.6.0
No packages depend on FluentAssertions.
• And() extension method to TimeSpanConversionExtensions to support 4.Hours().And(30.Minutes()). • More TimeSpan extensions to fluently create a TimeSpan like 23.Hours(59.Minutes()).And(20.Seconds()). • Support for Mspec as contributed by Urs Enzler. • Support for the ComparisonMode to assert inner exception messages as well. Also added ComparisonMode Equivalent and EquivalentSubstring to assert that the message of an (inner) exception matches a certain case-insensitive phrase. • Guid assertions like Be(), NotBe(), BeEmpty() and NotBeEmpty(). • Support for recursively comparing the properties of nested objects using ShouldHave().AllProperties().IncludingNestedObjects().EqualTo(). • Type and MethodInfo assertions for asserting class members are virtual or decorated with specific attributes. • Before and After extensions methods for TimeSpans . • Should().Be() and NotBe() extensions to the TypeAssertions. • PDB files to the release build as another contribution by Urs Enzler. • The name of the property to the ShouldFirePropertyChanged extension method failure message, also contributed by Urs Enzler. • Added comments to some of the assertion classes. • Fixed a stack overflow exception due to a recursive call between the various overloads of floating point extension method BeApproximately() • While comparing two collections for equality, FA didn't check any superfluous items in the expected collection. • Boolean assertions did not properly check against null values. • Fixed a stack overflow exception while creating a displayable representation of an object that contains circular references. • Fixed some potential memory leaks fix in MonitorEvents() using a patch provided by Remo Gloor. • Sometimes the wrong name of a the property or type was reported in a failure message. • ShouldHave().AllProperties().EqualTo() sometimes treated two objects that are functional equivalent according to their Equals() override as different, simply because they were not of the same type. • Fixed the detection of collection items that appear in the wrong order in Should().ContainInOrder().
| Version | Downloads | Last updated |
|---|---|---|
| 8.11.0 | 16 | 09/22/2026 |
| 8.10.0 | 25 | 06/23/2026 |
| 8.9.0 | 15 | 06/24/2026 |
| 8.8.0 | 15 | 06/24/2026 |
| 8.7.1 | 19 | 06/22/2026 |
| 8.7.0 | 20 | 06/27/2026 |
| 8.6.0 | 17 | 06/24/2026 |
| 8.5.0 | 12 | 06/28/2026 |
| 8.4.0 | 31 | 06/25/2026 |
| 8.3.0 | 19 | 06/24/2026 |
| 8.2.0 | 14 | 06/24/2026 |
| 8.1.1 | 19 | 06/24/2026 |
| 8.1.0 | 10 | 06/27/2026 |
| 8.0.1 | 25 | 01/29/2025 |
| 8.0.0 | 14 | 06/24/2026 |
| 7.2.2 | 21 | 06/22/2026 |
| 7.2.1 | 26 | 07/17/2026 |
| 7.2.0 | 21 | 06/16/2025 |
| 7.1.0 | 22 | 06/24/2026 |
| 7.0.0 | 18 | 06/24/2026 |
| 7.0.0-alpha.3 | 24 | 03/27/2024 |
| 7.0.0-alpha.2 | 20 | 05/11/2025 |
| 7.0.0-alpha.1 | 19 | 08/12/2024 |
| 6.12.2 | 14 | 06/27/2026 |
| 6.12.1 | 19 | 10/18/2024 |
| 6.12.0 | 38 | 02/27/2024 |
| 6.11.0 | 225 | 12/12/2023 |
| 6.10.0 | 22 | 01/18/2024 |
| 6.9.0 | 18 | 06/10/2024 |
| 6.8.0 | 19 | 01/03/2023 |
| 6.7.0 | 15 | 06/29/2026 |
| 6.6.0 | 21 | 02/16/2024 |
| 6.5.1 | 17 | 04/02/2024 |
| 6.5.0 | 15 | 04/15/2025 |
| 6.4.0 | 23 | 03/10/2024 |
| 6.3.0 | 15 | 12/26/2023 |
| 6.2.0 | 24 | 03/04/2024 |
| 6.1.0 | 19 | 04/05/2025 |
| 6.0.0 | 25 | 04/28/2024 |
| 6.0.0-beta0003 | 22 | 06/24/2026 |
| 6.0.0-beta0002 | 16 | 02/01/2024 |
| 6.0.0-beta0001 | 14 | 04/18/2024 |
| 6.0.0-alpha0002 | 14 | 06/02/2024 |
| 6.0.0-alpha0001 | 17 | 06/19/2024 |
| 5.10.3 | 22 | 12/19/2023 |
| 5.10.2 | 24 | 01/10/2024 |
| 5.10.0 | 27 | 12/20/2023 |
| 5.9.0 | 18 | 06/11/2024 |
| 5.8.0 | 21 | 12/17/2023 |
| 5.7.0 | 17 | 08/17/2024 |
| 5.6.0 | 16 | 10/06/2024 |
| 5.5.3 | 28 | 05/07/2024 |
| 5.5.1 | 21 | 02/28/2024 |
| 5.4.2 | 16 | 02/24/2024 |
| 5.4.1 | 30 | 05/01/2024 |
| 5.4.0 | 24 | 12/23/2023 |
| 5.3.2 | 19 | 05/10/2025 |
| 5.3.0 | 21 | 12/12/2023 |
| 5.2.0 | 19 | 12/27/2023 |
| 5.1.2 | 19 | 10/03/2024 |
| 5.1.1 | 17 | 01/12/2024 |
| 5.0.0 | 24 | 05/12/2024 |
| 4.19.4 | 21 | 12/26/2023 |
| 4.19.3 | 31 | 12/24/2023 |
| 4.19.2 | 26 | 01/04/2024 |
| 4.19.0 | 27 | 09/03/2024 |
| 4.18.0 | 22 | 06/29/2026 |
| 4.17.0 | 23 | 02/08/2024 |
| 4.16.0 | 21 | 01/27/2024 |
| 4.15.0 | 21 | 01/21/2025 |
| 4.14.0 | 27 | 10/05/2024 |
| 4.13.1 | 19 | 02/15/2025 |
| 4.13.0 | 19 | 09/26/2024 |
| 4.12.0 | 16 | 06/29/2026 |
| 4.11.0 | 18 | 11/06/2024 |
| 4.10.0 | 34 | 06/09/2024 |
| 4.9.1 | 24 | 04/02/2024 |
| 4.9.0 | 17 | 12/14/2023 |
| 4.8.0 | 38 | 12/28/2023 |
| 4.7.0 | 18 | 12/31/2023 |
| 4.6.3 | 19 | 07/19/2026 |
| 4.6.2 | 19 | 04/13/2025 |
| 4.6.1 | 20 | 12/13/2023 |
| 4.5.0 | 15 | 03/23/2024 |
| 4.4.0 | 26 | 12/25/2023 |
| 4.3.2 | 13 | 04/27/2024 |
| 4.3.1 | 36 | 02/20/2024 |
| 4.3.0 | 16 | 02/13/2024 |
| 4.2.2 | 21 | 10/06/2024 |
| 4.2.1 | 20 | 01/16/2024 |
| 4.2.0 | 32 | 02/28/2024 |
| 4.1.1 | 18 | 12/12/2023 |
| 4.1.0 | 20 | 12/27/2023 |
| 4.0.1 | 21 | 05/30/2024 |
| 4.0.0 | 27 | 04/14/2025 |
| 4.0.0-beta0001 | 25 | 06/04/2024 |
| 3.5.0 | 18 | 12/13/2024 |
| 3.4.1 | 27 | 01/13/2024 |
| 3.4.0 | 24 | 05/25/2024 |
| 3.3.0 | 26 | 03/28/2024 |
| 3.2.2 | 15 | 02/23/2024 |
| 3.2.1 | 21 | 06/16/2024 |
| 3.1.229 | 16 | 12/30/2023 |
| 3.0.107 | 16 | 12/20/2024 |
| 2.2.0 | 19 | 02/26/2025 |
| 2.1.0 | 22 | 10/06/2024 |
| 2.0.1 | 20 | 03/17/2025 |
| 2.0.0.1 | 19 | 01/19/2024 |
| 1.7.1.1 | 34 | 12/31/2023 |
| 1.7.0 | 20 | 12/20/2023 |
| 1.6.0 | 18 | 05/20/2025 |
| 1.5.0 | 22 | 01/04/2024 |
| 1.4.0 | 13 | 02/24/2024 |
| 1.3.0.1 | 22 | 06/17/2025 |