3,649,565

Downloads

6,460

Downloads of v 1.7.0

1,588

Average downloads per day

2012-01-13

Last published

Share on Social Networks

License details

provided by Sonatype

MS-PL

Fluent Assertions

1.7.0

A very extensive set of extension methods for .NET 3.5, 4.0 and Silverlight 4.0 that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit test.

To install Fluent Assertions, run the following command in the Package Manager Console

Install-Package FluentAssertions -Version 1.7.0

Release Notes

- Added methods for asserting that a collection of types matching a predicate have specific methods that are virtual or marked with a specific attribute.
      - Added methods for asserting XElements and Xattributes
      - Added support for recursively comparing the properties of nested (collection of objects ). By default it will compare all properties of the expected object graph, unless SharedProperties is used.
      - Added a fallback mechanism so that if FA cannot find any of the supported frameworks, it will fall back to using a custom AssertFailedException exception class rather than crashing.
      - Added support for ComparisonMode.StartWith and ComparisonMode.StartWithEquivalent when asserting the message of an exception.
      - For assertions that verify against a Type, the failure message will use the AssemblyQualifiedName rather than just the name of the type.
      - Fixed a bug so that collection.Should().OnlyContain(lamba) now throws if the collection is empty. See this discussion for more details.
      - Minor fix that ignores trailing blank characters when looking for the 'because' text in the reason of an assertion.
      - Added better and deeper detection of cyclic references when recursively comparing properties or generating a string representation of a complex object graph.
      - For long strings, the error message for string.Should().StartWith() places the actual and expected strings on seperate lines. This makes it easier to find the differences.

Owners

Authors

Dennis Doomen, Martin Opdam

Copyright

Copyright Dennis Doomen 2010-2012

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Fluent Assertions 4.19.0 90,766 Saturday, February 4, 2017
Fluent Assertions 4.18.0 224,278 Sunday, December 4, 2016
Fluent Assertions 4.17.0 85,016 Wednesday, November 9, 2016
Fluent Assertions 4.16.0 59,170 Wednesday, October 26, 2016
Fluent Assertions 4.15.0 59,932 Tuesday, October 11, 2016
Fluent Assertions 4.14.0 143,323 Monday, September 5, 2016
Fluent Assertions 4.13.1 21,354 Thursday, September 1, 2016
Fluent Assertions 4.13.0 119,762 Tuesday, August 2, 2016
Fluent Assertions 4.12.0 79,914 Friday, July 15, 2016
Fluent Assertions 4.11.0 52,058 Wednesday, July 6, 2016
Fluent Assertions 4.10.0 6,861 Tuesday, July 5, 2016
Fluent Assertions 4.9.1 41,490 Thursday, June 23, 2016
Fluent Assertions 4.9.0 46,492 Monday, June 13, 2016
Fluent Assertions 4.8.0 21,243 Tuesday, June 7, 2016
Fluent Assertions 4.7.0 13,762 Monday, June 6, 2016
Fluent Assertions 4.6.3 83,183 Tuesday, May 24, 2016
Fluent Assertions 4.6.2 31,285 Sunday, May 22, 2016
Fluent Assertions 4.6.1 37,580 Friday, May 13, 2016
Fluent Assertions 4.5.0 64,560 Monday, April 25, 2016
Fluent Assertions 4.4.0 48,454 Sunday, April 17, 2016
Fluent Assertions 4.3.2 39,354 Sunday, April 3, 2016
Fluent Assertions 4.3.1 1,544 Friday, April 1, 2016
Fluent Assertions 4.3.0 10,188 Thursday, March 31, 2016
Fluent Assertions 4.2.2 200,303 Friday, February 5, 2016
Fluent Assertions 4.2.1 107,704 Sunday, January 10, 2016
Fluent Assertions 4.2.0 5,798 Friday, January 8, 2016
Fluent Assertions 4.1.1 72,858 Sunday, December 13, 2015
Fluent Assertions 4.1.0 99,354 Tuesday, November 24, 2015
Fluent Assertions 4.0.1 86,931 Wednesday, October 21, 2015
Fluent Assertions 4.0.0 210,649 Monday, August 24, 2015
Fluent Assertions 4.0.0-beta0001 1,179 Friday, August 7, 2015
Fluent Assertions 3.5.0 48,889 Sunday, August 2, 2015
Fluent Assertions 3.4.1 70,406 Friday, July 3, 2015
Fluent Assertions 3.4.0 30,457 Monday, June 22, 2015
Fluent Assertions 3.3.0 246,181 Wednesday, February 18, 2015
Fluent Assertions 3.2.2 123,906 Friday, December 12, 2014
Fluent Assertions 3.2.1 126,352 Thursday, September 11, 2014
Fluent Assertions 3.1.229 56,802 Tuesday, July 29, 2014
Fluent Assertions 3.0.107 88,001 Wednesday, April 30, 2014
Fluent Assertions 2.2.0 199,325 Monday, December 30, 2013
Fluent Assertions 2.1.0 123,773 Friday, August 23, 2013
Fluent Assertions 2.0.1 121,485 Sunday, March 3, 2013
Fluent Assertions 2.0.0.1 73,235 Monday, October 15, 2012
Fluent Assertions 1.7.1.1 39,681 Saturday, March 24, 2012
Fluent Assertions 1.7.0 (this version) 6,460 Friday, January 13, 2012
Fluent Assertions 1.6.0 4,582 Monday, October 31, 2011
Fluent Assertions... 1.5.0 4,751 Wednesday, June 29, 2011
Fluent Assertions... 1.4.0 2,180 Monday, March 14, 2011
Fluent Assertions... 1.3.0.1 920 Saturday, January 15, 2011