EasyAssertions 0.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EasyAssertions --version 0.7.0                
NuGet\Install-Package EasyAssertions -Version 0.7.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasyAssertions" Version="0.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyAssertions --version 0.7.0                
#r "nuget: EasyAssertions, 0.7.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EasyAssertions as a Cake Addin
#addin nuget:?package=EasyAssertions&version=0.7.0

// Install EasyAssertions as a Cake Tool
#tool nuget:?package=EasyAssertions&version=0.7.0                

Easy-to-use fluent assertions with actually useful failure messages.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on EasyAssertions:

Repository Stars
soxtoby/SlackNet
A comprehensive Slack API client for .NET
Version Downloads Last updated
1.0.0 205 11/30/2013
0.7.1 296 11/5/2012
0.7.0 136 10/1/2012
0.6.1 157 7/30/2012
0.6.0 89 7/29/2012
0.5.0 97 7/23/2012
0.4.1 106 7/9/2012
0.4.0 91 7/9/2012
0.3.1 50 7/1/2012
0.3.0 49 7/1/2012
0.2.0 51 6/3/2012
0.1.0 51 5/30/2012

New Assertions:
     - ShouldBeSingular & ShouldBeLength, for asserting on IEnumerable length.
     - ShouldNotContain, for asserting that a collection does not contain a specific item.
     - ShouldContainKey & ShouldNotContainKey, for asserting whether or not a KeyedCollection contains an item for the specified key.
     - ShouldBeNaN & ShouldNotBeNaN for floats & doubles.
     - ShouldMatchReferences that takes a param array of expected instances.

     Breaking Changes:
     - ShouldBeThis renamed to ShouldReferTo.
     - ShouldNotBeThis renamed to ShouldNotReferTo.
     - ShouldBeThese renamed to ShouldMatchReferences.
     - Calling ShouldBe with two float or double values to test equality has been marked as obsolete and will no longer compile.
     - EasyAssertionConstructor is now marked as internal. Use EasyAssertion.Failure() instead.

     Other Changes/Fixes:
     - Number, bool, char & null literals will no longer appear twice in exception messages.
     - Null values appear in exception messages as <null> instead of <>.
     - Fixed IndexOutOfRangeException when actual string is shorter than expected string.
     - Failing Func expressions returning value types are no longer wrapped in "Convert()" (may still appear inside expression).
     - FailureMessage expressions & outputs are escaped for SmartFormat, so it doesn't try to evaluate bits that look like placeholders (e.g new { someVar }).
     - ShouldBe assertions for floats & double now accept any object for the actual value type. Assertion will fail if object is not of the correct type.