Skip to content

Releases: fscheck/FsCheck

2.10.0

07 Sep 21:25
Compare
Choose a tag to compare

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

28 Aug 18:26
Compare
Choose a tag to compare

Fix a bug in recursive union type generation that could lead to stack overflow in some cases.

2.9.1

27 Aug 20:37
Compare
Choose a tag to compare

Add NegativeInt type and Arbitrary instance. (by Stijn Moreels)
Update SourceLink to v2. (by Cameron Taggart)

2.9.0

18 May 21:50
Compare
Choose a tag to compare

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

07 May 20:36
Compare
Choose a tag to compare
2.9.0-rc3 Pre-release
Pre-release

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

06 May 21:23
Compare
Choose a tag to compare
2.9.0-rc2 Pre-release
Pre-release

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

06 May 20:39
Compare
Choose a tag to compare
2.9.0-rc1 Pre-release
Pre-release

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

06 May 19:22
Compare
Choose a tag to compare

Add Gen.optionOf. (by Mark Seemann)

2.8.1

01 May 21:08
Compare
Choose a tag to compare

Added support to generate POCOs (reflectively) with a default ctor and settable properties. (by Giacomo Citi)

2.8.0

15 Mar 22:42
Compare
Choose a tag to compare

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.