EasyAssertions 1.0.0
dotnet add package EasyAssertions --version 1.0.0
NuGet\Install-Package EasyAssertions -Version 1.0.0
<PackageReference Include="EasyAssertions" Version="1.0.0" />
paket add EasyAssertions --version 1.0.0
#r "nuget: EasyAssertions, 1.0.0"
// Install EasyAssertions as a Cake Addin #addin nuget:?package=EasyAssertions&version=1.0.0 // Install EasyAssertions as a Cake Tool #tool nuget:?package=EasyAssertions&version=1.0.0
Easy-to-use fluent assertions with actually useful failure messages.
Product | Versions 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. |
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
|
New Assertions:
- ItemsShouldBeIn, for asserting that a collection is a subset of another collection.
- ShouldNotOnlyContain, for asserting that a collection is not a subset of another collection.
- ShouldMatch for tree structures.
- ShouldBe for strings with optional case insensitivity.
- Should.Throw with no generic parameter that expect any Exception type.
- AndShouldNotBeA, for asserting that the actual value of Should.Throw is not of a particular type.
- ShouldBeEmpty, for asserting that a string is empty.
- ShouldMatch & ShouldNotMatch, for asserting on strings with regular expressions.
Other Changes/Fixes:
- Added null checks to all assertions.
- Fixed an exception that often occurred while running several tests in parallel.
- Fixed difference index when actual string is longer than expected string.
- String assertion failure messages no longer insert backslashes before braces.