Shouldly 3.0.2

Shouldly - Assertion framework for .NET. The way asserting *Should* be

There is a newer prerelease 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
paket add 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.

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.

Version History

Version Downloads Last updated
4.0.0-beta0001 4,042 1/11/2019
3.0.2 293,817 11/6/2018
3.0.1 167,626 9/20/2018
3.0.0 932,776 1/19/2018
3.0.0-beta0003 48,815 8/2/2017
3.0.0-beta0001 2,296 7/19/2017
2.8.3 618,765 6/5/2017
2.8.2 521,271 8/13/2016
2.8.1 30,642 7/23/2016
2.8.0 101,772 6/17/2016
2.7.0 95,642 4/4/2016
2.7.0-beta0003 2,513 2/2/2016
2.7.0-beta0002 552 1/30/2016
2.7.0-beta0001 1,118 1/2/2016
2.6.0 159,478 9/6/2015
2.5.0 79,419 4/12/2015
2.4.0 36,460 1/29/2015
2.3.1 7,074 12/15/2014
2.3.0 2,534 11/21/2014
2.2.1 4,352 10/22/2014
2.2.0 10,246 9/8/2014
2.1.1 29,263 3/19/2014
2.1.0 1,005 3/13/2014
1.1.1.1 76,994 4/21/2012
1.1.1 1,644 3/9/2012
1.1.0.6 464 4/21/2012
1.1.0.4 8,527 11/18/2011
1.1.0.3 487 11/15/2011
1.1.0.2 480 11/15/2011
1.1.0.1 532 11/3/2011
1.1.0 955 9/23/2011
1.0.1.77 647 9/13/2011
1.0.1.73 741 7/31/2011
1.0.1.71 550 7/31/2011
1.0.1.69 615 5/26/2011
1.0.1.68 611 5/25/2011
1.0.1.67 645 5/18/2011
1.0.1.66 602 5/18/2011
1.0.1.63 739 3/28/2011
1.0.1.62 678 3/17/2011
1.0.1.60 1,774 2/24/2011