3,374,689

Downloads

6,410

Downloads of v 1.7.0

1,491

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 65,628 Saturday, February 4, 2017
Fluent Assertions 4.18.0 184,876 Sunday, December 4, 2016
Fluent Assertions 4.17.0 75,263 Wednesday, November 9, 2016
Fluent Assertions 4.16.0 54,390 Wednesday, October 26, 2016
Fluent Assertions 4.15.0 55,539 Tuesday, October 11, 2016
Fluent Assertions 4.14.0 129,644 Monday, September 5, 2016
Fluent Assertions 4.13.1 19,231 Thursday, September 1, 2016
Fluent Assertions 4.13.0 112,677 Tuesday, August 2, 2016
Fluent Assertions 4.12.0 72,042 Friday, July 15, 2016
Fluent Assertions 4.11.0 48,396 Wednesday, July 6, 2016
Fluent Assertions 4.10.0 6,544 Tuesday, July 5, 2016
Fluent Assertions 4.9.1 38,461 Thursday, June 23, 2016
Fluent Assertions 4.9.0 44,540 Monday, June 13, 2016
Fluent Assertions 4.8.0 20,316 Tuesday, June 7, 2016
Fluent Assertions 4.7.0 12,848 Monday, June 6, 2016
Fluent Assertions 4.6.3 76,048 Tuesday, May 24, 2016
Fluent Assertions 4.6.2 31,073 Sunday, May 22, 2016
Fluent Assertions 4.6.1 36,625 Friday, May 13, 2016
Fluent Assertions 4.5.0 61,002 Monday, April 25, 2016
Fluent Assertions 4.4.0 46,073 Sunday, April 17, 2016
Fluent Assertions 4.3.2 37,666 Sunday, April 3, 2016
Fluent Assertions 4.3.1 1,471 Friday, April 1, 2016
Fluent Assertions 4.3.0 9,772 Thursday, March 31, 2016
Fluent Assertions 4.2.2 193,301 Friday, February 5, 2016
Fluent Assertions 4.2.1 104,027 Sunday, January 10, 2016
Fluent Assertions 4.2.0 5,487 Friday, January 8, 2016
Fluent Assertions 4.1.1 70,858 Sunday, December 13, 2015
Fluent Assertions 4.1.0 95,202 Tuesday, November 24, 2015
Fluent Assertions 4.0.1 84,054 Wednesday, October 21, 2015
Fluent Assertions 4.0.0 198,689 Monday, August 24, 2015
Fluent Assertions 4.0.0-beta0001 1,169 Friday, August 7, 2015
Fluent Assertions 3.5.0 47,799 Sunday, August 2, 2015
Fluent Assertions 3.4.1 68,365 Friday, July 3, 2015
Fluent Assertions 3.4.0 30,022 Monday, June 22, 2015
Fluent Assertions 3.3.0 237,735 Wednesday, February 18, 2015
Fluent Assertions 3.2.2 120,751 Friday, December 12, 2014
Fluent Assertions 3.2.1 123,953 Thursday, September 11, 2014
Fluent Assertions 3.1.229 55,617 Tuesday, July 29, 2014
Fluent Assertions 3.0.107 85,683 Wednesday, April 30, 2014
Fluent Assertions 2.2.0 195,891 Monday, December 30, 2013
Fluent Assertions 2.1.0 122,904 Friday, August 23, 2013
Fluent Assertions 2.0.1 119,819 Sunday, March 3, 2013
Fluent Assertions 2.0.0.1 72,596 Monday, October 15, 2012
Fluent Assertions 1.7.1.1 39,241 Saturday, March 24, 2012
Fluent Assertions 1.7.0 (this version) 6,410 Friday, January 13, 2012
Fluent Assertions 1.6.0 4,543 Monday, October 31, 2011
Fluent Assertions... 1.5.0 4,720 Wednesday, June 29, 2011
Fluent Assertions... 1.4.0 2,155 Monday, March 14, 2011
Fluent Assertions... 1.3.0.1 888 Saturday, January 15, 2011