Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Released: Release 1.4.0 (Feb 27, 2011)

$
0
0
News
  • Added methods for asserting that a value is within a range.
  • Added dedicated methods for asserting floating point values against an approximate value.
  • Added support for asserting the execution time of a class member or an action (only for .NET 3.5 and 4.0)
  • Added support for assertions on TimeSpans, including converting a number of seconds to a TimeSpan, all contributed by Ruben Rorije.
  • Added the possibility to add an extra condition to exception assertions using the .Where(x => condition) extension method.
  • Added support for ShouldNotRaise() and ShouldNotRaisePropertyChangedFor().
  • Added extension methods to convert numbers to minutes, hours and days.
  • Added support for numeric assertions on (nullable) bytes and shorts.

Changes/improvements
  • Moved the assertion classes to a dedicated project folder (and thus a different namespace)
  • Introduced a more fluent mechanism for verifying an internal conditions.

For a more in-depth discussion of the new functionality:
http://www.dennisdoomen.net/2011/02/another-release-for-fluent-assertions.html

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>