Releases: fscheck/FsCheck
2.10.0
Update FsCheck.NUnit to work with NUnit 3.8.1. FsCheck.NUnit is not backwards compatible with earlier NUnit versions because NUnit changed the name of a few methods in their extension API.
Gen.listOf and Gen.arrayOf now divide the size among the element generators, to avoid exponential explosion of size when high-dimensional types like int list list list
are generated. This is the approach advocated in https://gupea.ub.gu.se/handle/2077/22087. The effect on list and array generators is as follows, quoting from that text: This adjustment of the list generator impacts the distribution in several ways. Most apparently it inverts the correlation between the length of the list and the size of the elements, long lists will tend to have small elements instead of large. Short lists with small elements will be generated whenever n is low. Short lists with large elements will occur when n is large and a small k is chosen. If a large k is chosen instead, long list with small elements will be generated. The only way to generate long lists with large elements is if n is very large, which is natural given that the purpose of the modified algorithm is to reduce the size of test data.
Add Gen.piles generator, which generates a list of random elements that add up to a given sum.
2.9.2
Fix a bug in recursive union type generation that could lead to stack overflow in some cases.
2.9.1
Add NegativeInt type and Arbitrary instance. (by Stijn Moreels)
Update SourceLink to v2. (by Cameron Taggart)
2.9.0
Add a .NET Standard 1.6 build to FsCheck, FsCheck.NUnit and FsCheck.Xunit NuGet packages. (with Enrico Sada)
Update to latest FSharp.Core 4.1. The last version to support 3.1 or higher is FsCheck 2.8.2.
2.9.0-rc3
Add a .NET Standard 1.6 compatible build to FsCheck, FsCheck.NUnit and FsCheck.Xunit. (with Enrico Sada)
Update to latest FSharp.Core 4.1.
2.9.0-rc2
Add a .NET Standard 1.6 compatible build to FsCheck, FsCheck.NUnit and FsCheck.Xunit. (with Enrico Sada)
Update to latest FSharp.Core 4.1.
2.9.0-rc1
Add a .NET Standard 1.6 compatible build to FsCheck, FsCheck.NUnit and FsCheck.Xunit. (with Enrico Sada)
Update to latest FSharp.Core 4.1.
2.8.2
Add Gen.optionOf. (by Mark Seemann)
2.8.1
Added support to generate POCOs (reflectively) with a default ctor and settable properties. (by Giacomo Citi)
2.8.0
Removed support for .NET 4.5 and 4.5.1 frameworks as they are no longer supported by Microsoft.
Updated to xUnit 2.2.
Updated to NUnit 3.6.1.