Releases: shouldly/shouldly
Releases · shouldly/shouldly
v3.0.2
- #539 - Prevent optimizations from interfering with stack walking logic investigated by Joseph Woodward, fix by Stuart Lang (slang25)
- #538 - Fixed null string comparison contributed by Joseph Musser (jnm2)
- #536 - Sourcelink contributed by Stuart Lang (slang25)
- #530 - Add Should.Throw() overloads for Func contributed by Martin Costello (martincostello)
- #527 - Add RepositoryUrl MSBuild property contributed by Martin Costello (martincostello)
- #501 - Removed irrelevant stack frames from exception stack traces contributed by Joseph Musser (jnm2)
Commits: 86e42dd...c4aa6f5
v3.0.1
- #510 - Add WinMerge to known diff tools contributed by Brian Dukes (bdukes)
- #500 - Syntax highlight contributed by Jonathan (vanillajonathan)
- #494 - Now will work on vs 2017 Build 15.6 contributed by osama arif lone (loneosama)
- #492 - Fixed Test.csproj Now will work on linux contributed by osama arif lone (loneosama)
- #489 - Fixed NullReferenceException when creating error message from Expression contributed by Hajbok Robert (HajbokRobert)
- #479 - .NET Standard tests and .NET 2.0 target contributed by Joseph Woodward (JosephWoodward)
v3.0.0
- #488 - Tidy up test class by Joseph Woodward (JosephWoodward)
- #474 - Fix broken ShouldHaveFlag tests contributed by Joseph Woodward (JosephWoodward)
- #468 - Fix typos in SourceCodeTextGetter.cs contributed by David (TAGC)
- #462 - Correct VSTS/TFS environment variable. contributed by Gian Lorenzetto (GianLorenzetto)
- #452 - Update cake build script for new tooling contributed by Stuart Lang (slang25)
- #451 - Fix build scripts contributed by Joseph Woodward (JosephWoodward)
- #450 - More build improvements contributed by Stuart Lang (slang25)
- #446 - Drop support for .NET 3.5 contributed by Stuart Lang (slang25)
- #447 - Consolidate conditional code contributed by Stuart Lang (slang25)
- #445 - Added OS conditional to allow building on non Windows platforms by Joseph Woodward (JosephWoodward)
- #439 - Make diff tools configuration lazy contributed by Stuart Lang (slang25)
- #426 - Added more ReSharper contract annotations contributed by Sebastian Krysmanski (skrysmanski)
- #416 - Fix for #415 (ShouldlyMethods attribute were missing on ShouldBeEnumE… contributed by Niklas Källander (niklaskallander)
- #236 - New logo
- #432 - Tooling migration by Joseph Woodward (JosephWoodward)
v3.0.0-beta.1
- #450 - More build improvements contributed by Stuart Lang (slang25)
- #488 - Tidy up test class by Joseph Woodward (JosephWoodward)
- #447 - Consolidate conditional code contributed by Stuart Lang (slang25)
- #446 - Drop support for .NET 3.5 contributed by Stuart Lang (slang25)
- #445 - Added OS conditional to allow building on non Windows platforms by Joseph Woodward (JosephWoodward)
- #432 - Tooling migration by Joseph Woodward (JosephWoodward)
v2.8.3
- #428 - Null fix for ShouldBeAssignableTo contributed by Joseph Woodward (JosephWoodward)
- #423 - Fix for Try catch around environment variable calls contributed by Ståle Strømme (SteelFlow)
- #419 - Added build servers contributed by Rob Moore (robdmoore)
- #418 - Adding currently running Visual Studio and Tortoise Git diff tools contributed by Rob Moore (robdmoore)
- #414 - Updated Should.Throw fix for TimeoutException contributed by João Barbosa (bmpj13)
- #410 - Implement 'ShouldBeInOrder' for IEnumerable contributed by RJ Hollberg (TaffarelJr)
- #409 - Register new diff tools: Devart Code Compare and Perforce P4Merge contributed by RJ Hollberg (TaffarelJr)
- #408 - Include customMessage in ShouldNotBeAssignableTo(...) contributed by RJ Hollberg (TaffarelJr)
- #406 - Split out contributing guidelines into their own file. contributed by Tom Wright (tdwright)
- #404 - Ability to check exception type and exception message. contributed by Derek Comartin (dcomartin)
- #402 - Fixed some issues with the Shouldly convention tests contributed by Jake Ginnivan (JakeGinnivan)
- #401 - Compare Custom classes that don't implement IComparable (#364) contributed by (ankurMalhotra)
- #398 - Updated approved text to fix build contributed by Joseph Woodward (JosephWoodward)
v2.8.2
v2.8.1
- #390 - Upgraded to .NET Core RTM contributed by Joseph Woodward (JosephWoodward)
v2.8.0
- #386 - Switch to dotnet cli RC2 Preview 1 Tooling contributed by Jake Ginnivan (JakeGinnivan)
- #383 - Trim quotes when initializing DiffTools contributed by Alexander Nyquist (alexandernyquist)
- #382 - Fixed codePart format issue contributed by Joseph Woodward (JosephWoodward) fixes #377 - Type initialization for KnownDiffTools fails
- #380 - Renaming the AssemblyInfo.cs because GitVersion now adds in the missi… contributed by Jake Ginnivan (JakeGinnivan)
- #378 - Should.Throw causes a FormatException
- #374 - Addition of Should.Throw and Should.ThrowAsync methods contributed by (StuartFerguson)
- #372 #371 - changes for shouldly should show more details when asserting DateTime #371 contributed by Sebastian Wojciechowski (SebastianWojciechowski)
Commits: 2ed6976...c5cc758
v2.7.0
v2.7.0 is a pretty big release which manages to not have any breaking changes afaik (please raise an issue if this is not the case). Here are the highlights:
- PCL/CoreCLR support
- Way better error messages when source is not available, as time goes on we will bring better error messages to different PCL targets. At the moment PCL/CoreCLR cannot get at the source code of your tests so the error messages are not quite as good.
- Switched over to XUnit and removed our testbase class. This means those of you using the Visual Studio test explorer, Shouldlys test suite will now be usable for you.
ShouldMatchApproved
- Based on the awesome ApprovalTests.net, shouldly now has a simple and configurable version for strings. Have a look at the docs at http://shouldly.readthedocs.org/en/latest/assertions/shouldMatchApproved.html - Feedback on API and functionality welcome, especially during beta period- We have a documentation project now which powers http://shouldly.readthedocs.org - We need help porting the docs to readthedocs! Jump in and pickup an assertion on #308
- Option to ignore line endings when comparing strings
- Plugged gaps in missing overloads and other small API inconsistencies
ShouldHaveSingleItem
methodAddEnumHaveFlag
method
Changelog:
- #368 - Added ShouldHaveSingleItem for Enumerables. contributed by Steve Sikorski (ssiko)
- #365 - ShouldHaveSingleItem() +Enhancement
- #362 - remove apostrophe contributed by Chris Sutton (chrissutton)
- #361 - Merged pull request #355 from bangsholt:AddEnumHaveFlag contributed by Joseph Woodward (JosephWoodward)
- #360 - Added example classes to help with documentation contributed by Chaitanya Gurrapu (chaitanyagurrapu)
- #355 - Add enum have flag contributed by (bangsholt)
- #272 - Implement ShouldHaveFlag() and ShouldNotHaveFlag() for enums decorated with [Flags] attribute +Enhancement
- #348 - Wrote docs for new shouldMatchApproved and fixed up a few more issues… contributed by Jake Ginnivan (JakeGinnivan)
- #347 - Switched ShouldNotBe docs over to use examples, moved approved files … contributed by Jake Ginnivan (JakeGinnivan)
- #346 - Add support for the dotnet TFM contributed by Oren Novotny (onovotny)
- #345 - Created documentation samples project which outputs files to be inclu… contributed by Jake Ginnivan (JakeGinnivan)
- #344 - ShouldBeSameAs and reference equality
- #343 - Some constants missing in test projects contributed by Jake Ginnivan (JakeGinnivan)
- #342 - Initial pass at ShouldMatchApproved contributed by Jake Ginnivan (JakeGinnivan)
- #341 - Add support for coreclr/portable libraries contributed by Jake Ginnivan (JakeGinnivan)
- #339 - Dnx contributed by Jake Ginnivan (JakeGinnivan)
- #338 - Minor consistency tweaks to StringHelper.cs contributed by Joseph Woodward (JosephWoodward)
- #337 #301 - Includes numeric suffixes in error messages contributed by Amadeusz Wieczorek (AmadeusW)
- #336 - String options clean up contributed by (sholland1)
- #335 - Xunit conversion contributed by Jake Ginnivan (JakeGinnivan)
- #333 - Should be with options contributed by (sholland1) and Jake Ginnivan (JakeGinnivan)
- #332 - Fixed #330 contributed by Jake Ginnivan (JakeGinnivan)
- #331 - Support CoreCLR
- #330 - ShouldContainWithoutWhitespace uses Is.Equal not contains
- #329 - Finished off ShouldNotMatch contributed by Joseph Woodward (JosephWoodward)
- #328 - Fix for #327 Mono NullReferenceException contributed by Nate Barbettini (nbarbettini)
- #327 - ShouldThrow fails under Mono
- #325 - Set thread culture within tests contributed by Joseph Woodward (JosephWoodward)
- #324 - Tests fail with Hungarian regional settings
- #321 #273 - Implement ShouldBePositive() and ShouldBeNegative() for numeric types with sign contributed by Gert Nelissen (gertnelissen)
- #319 #312 - Made ShouldNotMatch with a test contributed by Brad (bradarv90)
- #318 - Created ShouldNotMatch contributed by Brad (bradarv90)
- #317 #304 - ShouldNotBe error message PR contributed by Christos Matskas (cmatskas)
- #316 - Reworks docs to use Spinx and Rst contributed by Phil Scott (enkafan)
- #315 - Added ShouldNotBe DateTime (Offset) contributed by Joseph Woodward (JosephWoodward)
- #314 - Minor correction contributed by Joseph Woodward (JosephWoodward)
- #313 - Added numeric ShouldNotBe. contributed by Joseph Woodward (JosephWoodward)
- #311 - ShouldBeInRange is missing additional information overloads
- #310 - ShouldBeOneOf missing context overloads
- #309 - ShouldBe with tolerance message has wrong indenting
- #307 - Timespan ShouldNotBe with tolerance overloads missing +Enhancement
- #306 - DateTime ShouldNotBe with tolerance overloads missing +Enhancement
- #305 - Numeric ShouldNotBe(TNumeric, tolerance) overload is missing +Enhancement
- #247 - There seems to be a problem formatting assertion failure messages
- #177 - Improve examples on docs site +Enhancement
- #170 - Graceful fall-back when source/pdbs are not available
- #357 - Empty dependency groups to save clr dependencies being installed via … contributed by Jake Ginnivan (JakeGinnivan)
- #356 - Fixed approval defaults to include class name in filename. contributed by Jake Ginnivan (JakeGinnivan)
- #354 - Updates NuGet tags and fixes a typo contributed by Amadeusz Wieczorek (AmadeusW)
- #353 - Updates NuGet tags for more search scenarios contributed by Amadeusz Wieczorek (AmadeusW)
- #352 - for issue #326, added ShouldContainMatchingCount contributed by Matthew D. Groves (mgroves)
- #351 - Added ShouldBeNullNotNull docs contributed by Joseph Woodward (JosephWoodward)
- #350 - Added ShouldBeTrue and ShouldBeFalse docs contributed by Joseph Woodward (JosephWoodward)
- #349 - Fixed 'DynamicShould' with dnx contributed by Chaitanya Gurrapu (chaitanyagurrapu)
v2.7.0-beta.3
A small release adding LocateTestMethodUsingAttribute
to the ShouldMatchApproved
configuration.