Shouldly 3.0.2

There is a newer version of this package available.
See the version list below for details.
Install-Package Shouldly -Version 3.0.2
dotnet add package Shouldly --version 3.0.2
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Shouldly, 3.0.2"
#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 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Shouldly Logo

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.

NuGet packages (68)

Showing the top 5 NuGet packages that depend on Shouldly:

Package Downloads
Takenet.MessagingHub.Client.Tester

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

Saucery2

Sourcery for SauceLabs - Unlocking SauceLabs capability.

Saucery3

Sourcery for SauceLabs - Unlocking SauceLabs capability

Miru.Testing

Package Description

AUT.ConfigureTestProjects

Helper methods collection. Explore functionality for increase coverage gain.

GitHub repositories (179)

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.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
mono/mono
Mono open source ECMA CLI, C# and .NET implementation.
AutoMapper/AutoMapper
A convention-based object-object mapper in .NET.
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
Version Downloads Last updated
4.0.3 3,005,718 12/17/2020
4.0.2 12,095 12/17/2020
4.0.1 488,012 11/15/2020
4.0.0 151,368 11/9/2020
4.0.0-beta0004 12,935 10/16/2020
4.0.0-beta0003 15,655 9/21/2020
4.0.0-beta0002 528,195 6/14/2019
4.0.0-beta0001 184,590 1/11/2019
4.0.0-beta.5 305 11/8/2020
3.0.2 8,315,412 11/6/2018
3.0.1 642,026 9/20/2018
3.0.0 2,210,775 1/19/2018
3.0.0-beta0003 63,807 8/2/2017
3.0.0-beta0001 2,966 7/19/2017
2.8.3 1,022,687 6/5/2017
2.8.2 947,281 8/13/2016
2.8.1 50,866 7/23/2016
2.8.0 206,673 6/17/2016
2.7.0 146,120 4/4/2016
2.7.0-beta0003 3,327 2/2/2016
2.7.0-beta0002 1,375 1/30/2016
2.7.0-beta0001 1,796 1/2/2016
2.6.0 279,941 9/6/2015
2.5.0 102,417 4/12/2015
2.4.0 49,659 1/29/2015
2.3.1 16,991 12/15/2014
2.3.0 3,492 11/21/2014
2.2.1 5,410 10/22/2014
2.2.0 21,730 9/8/2014
2.1.1 50,293 3/19/2014
2.1.0 3,158 3/13/2014
1.1.1.1 172,720 4/21/2012
1.1.1 2,540 3/9/2012
1.1.0.6 1,192 4/21/2012
1.1.0.4 9,750 11/18/2011
1.1.0.3 1,262 11/15/2011
1.1.0.2 1,235 11/15/2011
1.1.0.1 1,297 11/3/2011
1.1.0 1,694 9/23/2011
1.0.1.77 1,390 9/13/2011
1.0.1.73 1,741 7/31/2011
1.0.1.71 1,324 7/31/2011
1.0.1.69 1,405 5/26/2011
1.0.1.68 1,405 5/25/2011
1.0.1.67 1,426 5/18/2011
1.0.1.66 1,407 5/18/2011
1.0.1.63 1,498 3/28/2011
1.0.1.62 1,483 3/17/2011
1.0.1.60 7,089 2/24/2011