ExpressiveAssertions 0.11.0

Flexible assertion library leveraging the .NET expression tree syntax

Install-Package ExpressiveAssertions -Version 0.11.0
dotnet add package ExpressiveAssertions --version 0.11.0
<PackageReference Include="ExpressiveAssertions" Version="0.11.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExpressiveAssertions --version 0.11.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ExpressiveAssertions, 0.11.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ExpressiveAssertions as a Cake Addin
#addin nuget:?package=ExpressiveAssertions&version=0.11.0

// Install ExpressiveAssertions as a Cake Tool
#tool nuget:?package=ExpressiveAssertions&version=0.11.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* 0.11.0 - update dependency versions
* 0.11.0 - add new xunit assertion implementation
* 0.10.0 - massive rewrite of rendering engine
* 0.10.0 - new EachIsDistinct() assertion
* 0.10.0 - project upgraded to netstandard 2.1 in order to utilize some coonvenience methods like HashSet.TryGetValue() and ConditionalWeakTable.AddOrUpdate()
* 0.10.0 - new NullAssertionTool is a black hole for assertion data
* 0.10.0 - new FilesystemAssertionTool implements all the stuff needed to move your assertion expectations to separate files on disk
* 0.9.9 - rendering code was excluding  thrown exception details from the assertion failure messages
* 0.9.9 - added a little more robust handling for exceptions to help pinpoint where the exception is ocurring.
* 0.9.8 - upgrade to netstandard 2.0
* 0.9.7 - addition of AssertionInverterTool to treat all success as failure and all failure as success
* 0.9.7 - addition of IgnoreDeclaredFailureAssertionTool which will ignore any declared failure assertions
* 0.9.7 - addition of IgnoreInconclsuiveAssertionTool which will ignore any inconclusive assertions
* 0.9.6 - fix bug with mstest handling of assertion messages
* 0.9.5 - fix bug in short assertion renderer causing all failed assertions to be marked as success
* 0.9.4 - fixed another nuget packaging bug
* 0.9.3 - added some tests on the base assertions
* 0.9.3 - refactored a number of specialized / internally focused classes to separate namespaces to limit clutter in the primary namespace
* 0.9.3 - cleaned up some documentation in README.md
* 0.9.3 - nuget package now qualifies the readme as README_ExpressiveAssertions.md instead of just README.md
* 0.9.3 - MSTest assertion no longer renders assertions automatically, you must specifically chain it with a renderer assertion (such as the builtin ShortAssertionRendererTool)
* 0.9.2 - better error reporting in the mstest driver
* 0.9.2 - started removing code contracts stuff because they don't report error messages the way i want
* 0.9.2 - Renamed the Assert() method to be just another overload of Check() instead
* 0.9.2 - Add the concept of context data including api methods for using It
* 0.9.2 - updates to generic AreEqual and AreNotEqual to use object.Equals() for proper equality checking in case of anonymous types
* 0.9.2 - new assertions nfor IsInstanceof() / IsNotInstanceOf()
* 0.9.2 - add initial suite of assertions for collection types
* 0.9.2 - new assertions for IsNull() / IsNotNull()
* 0.9.2 - new assertions for IsTrue() / IsFalse()
* 0.9.2 - new assertions for Throws()
* 0.9.2 - add SoftAssertionTool
* 0.9.2 - unit testing for assertion context code
* 0.9.1 - add license files to nuget package
* 0.9.0 - this is the initial release, and is a beta / alpha version with some incomplete / missing features

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ExpressiveAssertions:

Package Downloads
ExpressiveAssertions.MSTest
Flexible assertion library leveraging the .NET expression tree syntax
ExpressiveAssertions.XUnit
Flexible assertion library leveraging the .NET expression tree syntax

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.11.0 51 2/20/2021
0.10.0 203 8/14/2020
0.9.9 321 2/28/2019
0.9.8 689 1/15/2018
0.9.7 646 2/26/2017
0.9.6 681 1/12/2017
0.9.5 661 1/12/2017
0.9.4 624 12/24/2016
0.9.2 634 8/27/2016
0.9.1 675 7/25/2016
0.9.0 657 7/24/2016