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.

NuGet packages

This package is not used by any NuGet packages.

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
3.0.3 3,489 3/12/2022
3.0.2 437 3/12/2022
3.0.1 454 3/12/2022
3.0.0 428 3/6/2022
2.2.0 23,234 10/25/2017
2.1.0 1,319 5/6/2017
2.0.1 1,049 3/12/2017
2.0.0 1,062 2/6/2017
1.0.0 4,049 11/30/2013
0.7.1 1,861 11/5/2012
0.7.0 1,641 10/1/2012
0.6.1 1,427 7/30/2012
0.6.0 1,406 7/29/2012
0.5.0 1,466 7/23/2012
0.4.1 1,418 7/9/2012
0.4.0 1,392 7/9/2012
0.3.1 1,379 7/1/2012
0.3.0 1,335 7/1/2012
0.2.0 1,380 6/3/2012
0.1.0 1,365 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.