FsCheck.Xunit 2.5.0

FsCheck.Xunit integrates FsCheck with xUnit.NET by adding a PropertyAttribute that runs FsCheck tests, similar to xUnit.NET's FactAttribute.

All the options normally available in vanilla FsCheck via configuration can be controlled via the PropertyAttribute.

There is a newer version of this package available.
See the version list below for details.
Install-Package FsCheck.Xunit -Version 2.5.0
dotnet add package FsCheck.Xunit --version 2.5.0
<PackageReference Include="FsCheck.Xunit" Version="2.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FsCheck.Xunit --version 2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FsCheck.Xunit, 2.5.0"
#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 FsCheck.Xunit as a Cake Addin
#addin nuget:?package=FsCheck.Xunit&version=2.5.0

// Install FsCheck.Xunit as a Cake Tool
#tool nuget:?package=FsCheck.Xunit&version=2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Add Gen.growingElements.
Add default generator and shrinker for IPAddress and MailAddress.
Gen.eval now uses the given size directly to generate an element of that size, instead of randomly choosing a size up to the given size. This means that on average
test case sizes are bigger.
Gen.frequency now throws a clearer exeption if no element can be generated.
Renamed Gen.suchThat and Gen.suchThatOption to Gen.where or Gen.filter and Gen.tryWhere or Gen.tryFilter. (The functions/methods with the old names are still there, they are just marked Obsolete and will be removed in a future version.)
Renamed DontSize to DoNotSize, DontShrink to DoNotShrink, DontSizeInt16 to DoNotSizeInt16 etc. (The types with the old names are still there, they are just marked Obsolete and will be removed in a future version.)
StateMachine: operation shrinker shrinks operations too, not just the list of operations.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (10)

Showing the top 5 popular GitHub repositories that depend on FsCheck.Xunit:

Repository Stars
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
akkadotnet/akka.net
Port of Akka actors for .NET
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/en-us/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
opentk/opentk
The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
MetacoSA/NBitcoin
Comprehensive Bitcoin library for the .NET framework.

Version History

Version Downloads Last updated
3.0.0-alpha5 3,980 12/28/2020
3.0.0-alpha4 53,269 10/6/2018
3.0.0-alpha3 6,147 12/30/2017
3.0.0-alpha2 5,079 10/19/2017
3.0.0-alpha1 849 9/26/2017
2.15.3 37 5/8/2021
2.15.2 5,703 4/15/2021
2.15.1 14,364 2/27/2021
2.15.0 1,065 2/23/2021
2.14.6 2,672 2/21/2021
2.14.5 2,379 2/18/2021
2.14.4 8,365 1/31/2021
2.14.3 248,391 6/9/2020
2.14.2 59,788 3/11/2020
2.14.0 308,141 4/17/2019
2.13.0 149,553 11/11/2018
2.12.1 18,263 10/18/2018
2.12.0 4,723 10/6/2018
2.11.0 57,184 6/15/2018
2.10.10 52,247 5/15/2018
2.10.9 10,211 4/10/2018
2.10.8 61,633 3/3/2018
2.10.7 7,164 1/29/2018
2.10.6 5,818 12/30/2017
2.10.5 9,933 12/28/2017
2.10.4 29,899 11/8/2017
2.10.3 5,095 9/26/2017
2.10.2 9,109 9/25/2017
2.10.1 680 9/23/2017
2.10.0 10,224 9/7/2017
2.9.2 2,257 8/28/2017
2.9.1 541 8/27/2017
2.9.0 43,821 5/18/2017
2.9.0-rc3 3,665 5/7/2017
2.9.0-rc2 571 5/6/2017
2.9.0-rc1 509 5/6/2017
2.8.2 2,099 5/6/2017
2.8.1 651 5/1/2017
2.8.0 4,952 3/15/2017
2.7.2 3,333 3/5/2017
2.7.1 3,048 2/13/2017
2.7.0 3,640 1/15/2017
2.6.3 1,392 1/13/2017
2.6.2 6,548 10/7/2016
2.6.1 1,166 9/25/2016
2.6.0 9,477 8/3/2016
2.5.0 25,712 6/7/2016
2.4.0 6,017 4/20/2016
2.3.0 1,842 4/11/2016
2.2.5 3,410 3/28/2016
2.2.4 11,920 12/17/2015
2.2.3 965 11/26/2015
2.2.2 1,959 11/14/2015
2.2.1 754 11/5/2015
2.2.0 8,301 11/1/2015
2.1.0 2,714 9/30/2015
2.0.7 5,137 8/20/2015
2.0.6 761 8/14/2015
2.0.5 2,203 7/31/2015
2.0.4 1,063 7/20/2015
2.0.3 920 7/10/2015
2.0.2 681 7/7/2015
2.0.1 1,557 5/23/2015
2.0.1-rc1 615 5/23/2015
2.0.0-alpha 702 4/27/2015
1.0.4 9,549 12/9/2014
1.0.3 1,928 11/18/2014
1.0.2 2,324 10/27/2014
1.0.1 840 10/18/2014
1.0.0 1,307 8/3/2014
0.4.1 23,580 5/9/2014
0.4.0.2 4,624 11/7/2013
0.4.0.1 967 6/21/2013
0.4.0 853 6/18/2013
0.3.0 1,192 8/26/2012
0.2.0 927 7/4/2012
0.1.0 1,384 6/25/2012
Show less