Shouldly 3.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Shouldly --version 3.0.2                
NuGet\Install-Package Shouldly -Version 3.0.2                
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="Shouldly" Version="3.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shouldly --version 3.0.2                
#r "nuget: Shouldly, 3.0.2"                
#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 Shouldly as a Cake Addin
#addin nuget:?package=Shouldly&version=3.0.2

// Install Shouldly as a Cake Tool
#tool nuget:?package=Shouldly&version=3.0.2                

Shouldly is an assertion framework which focuses on giving great error messages when the assertion fails while being simple and terse.

This is the old Assert way:

Assert.That(contestant.Points, Is.EqualTo(1337));

For your troubles, you get this message, when it fails:

Expected 1337 but was 0

How it Should be:

contestant.Points.ShouldBe(1337);

Which is just syntax, so far, but check out the message when it fails:

contestant.Points should be 1337 but was 0

Shouldly 3.0.2 Release Notes

Release notes for version 3.0.2 can be found here.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 is compatible.  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. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (93)

Showing the top 5 NuGet packages that depend on Shouldly:

Package Downloads
Miru.Testing

Package Description

Saucery2

Sourcery for SauceLabs - Unlocking SauceLabs capability.

Takenet.MessagingHub.Client.Tester

The tester library for the C# SDK of the Messaging Hub

Statiq.Testing

Statiq is a configurable static content generation framework. This library provides utility classes to make testing easier.

Saucery3

Sourcery for SauceLabs - Unlocking SauceLabs capability

GitHub repositories (254)

Showing the top 5 popular GitHub repositories that depend on Shouldly:

Repository Stars
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
AutoMapper/AutoMapper
A convention-based object-object mapper in .NET.
Version Downloads Last updated
4.2.1 10,499,725 4/24/2023
4.2.0 162,012 4/15/2023
4.1.0 7,120,915 8/24/2022
4.0.3 15,330,165 12/17/2020
4.0.2 46,362 12/17/2020
4.0.1 883,920 11/15/2020
4.0.0 274,522 11/9/2020
4.0.0-beta0004 18,974 10/16/2020
4.0.0-beta0003 25,856 9/21/2020
4.0.0-beta0002 874,984 6/14/2019
4.0.0-beta0001 221,395 1/11/2019
4.0.0-beta.5 485 11/8/2020
3.0.2 13,291,147 11/6/2018
3.0.1 841,715 9/20/2018
3.0.0 2,986,298 1/19/2018
3.0.0-beta0003 70,644 8/2/2017
3.0.0-beta0001 3,265 7/19/2017
2.8.3 1,312,475 6/5/2017
2.8.2 1,312,399 8/13/2016
2.8.1 81,405 7/23/2016
2.8.0 260,200 6/17/2016
2.7.0 217,037 4/4/2016
2.7.0-beta0003 3,566 2/2/2016
2.7.0-beta0002 1,637 1/30/2016
2.7.0-beta0001 2,073 1/2/2016
2.6.0 436,600 9/6/2015
2.5.0 146,278 4/12/2015
2.4.0 69,922 1/29/2015
2.3.1 25,457 12/15/2014
2.3.0 4,678 11/21/2014
2.2.1 9,019 10/22/2014
2.2.0 26,850 9/8/2014
2.1.1 66,710 3/19/2014
2.1.0 4,518 3/13/2014
1.1.1.1 263,068 4/21/2012
1.1.1 3,342 3/9/2012
1.1.0.6 1,711 4/21/2012
1.1.0.4 10,539 11/18/2011
1.1.0.3 1,783 11/15/2011
1.1.0.2 1,785 11/15/2011
1.1.0.1 1,838 11/3/2011
1.1.0 2,260 9/23/2011
1.0.1.77 1,953 9/13/2011
1.0.1.73 2,774 7/31/2011
1.0.1.71 1,869 7/31/2011
1.0.1.69 1,951 5/26/2011
1.0.1.68 1,989 5/25/2011
1.0.1.67 2,027 5/18/2011
1.0.1.66 1,939 5/18/2011
1.0.1.63 2,075 3/28/2011
1.0.1.62 2,054 3/17/2011
1.0.1.60 52,530 2/24/2011