Changelog History
Page 1
-
v3.0.0-alpha4 Changes
October 06, 2018β Propagate thread-local arbitraries to thread pool threads that are executing tests.
-
v2.14.3 Changes
June 09, 2020π Fix FsCheck.Xunit so it properly calls Dispose if the test class implements IDisposable. (by Laurence King)
-
v2.14.2 Changes
March 11, 2020π Assembly metadata fix. This caused version 2.14.1 to be unusable in some cases; it was unlisted.
-
v2.14.1 Changes
March 01, 2020β Add support for struct type generation and shrinking. (by Kody Musick)
π Support setting PropertyAttribute.Replay to null. (by Eirik Tsarpalis) -
v2.14.0 Changes
April 17, 2019β Add shrinker for data transfer objects. (by Carlo Zancanaro)
β Add shrinker for Interval type. (by Nazar Vinnichuk)
β Add shrinker for flags enums. (by Nazar Vinnichuk)
β Add new Arbitrary instances for Numerics.Complex and ConsoleKeyInfo. (by Nazar Vinnichuk)
π Fix float, int32 and int64 generators so their distribution is uniform. This also improves downstream generators. (by Nazar Vinnichuk)
π Fix decimal generator so size is respected. (by Nazar Vinnichuk)
β Add Gen.scale and ScaleSize extension method which can remove some boilerplate. (by Nazar Vinnichuk) -
v2.13.0 Changes
November 11, 2018π Stop shipping Portable Class Libraries (PCL), which are essentially deprecated by Microsoft in favor of .NET Standard. FsCheck now targets .NET Standard 1.0 (which takes the place of 3 PCLs that were previously included, while it still run on all those platforms and more), .NET Standard 1.6 (which is the lowest version modern FSharp.Core versions support) and .NET Standard 2.0 (which is advised by NuGet so clients don't need to download as much stuff if they can target 2.0 or higher). FsCheck also still targets .NET Framework 4.5.2 and upwards as a convenience.
FsCheck.Xunit and FsCheck.NUnit similarly target .NET Standard 1.6 and 2.0, as well as .NET Framework 4.5.2. They've never targeted PCL before.
It's my hope and expectation that this makes FsCheck usable on the same range of platforms (and more) as before, while greatly simplifying development: there is now just one solution (instead of three), and only one FsCheck project (instead of five) and so on.
β Add NonWhiteSpaceString to default generated types. (by Stijn Moreels) -
v2.12.1 Changes
October 18, 2018π Fix FsCheck.Xunit's CheckExtensions so that the throwing methods actually throw on failure.
β Add new generator extensions for C#: Zip, Zip3, Or and OrNull. (by Stijn Moreels)
β Add Gen.collect and variations. (by Stijn Moreels)
π Fix to offset of DateTimeOffset generator. (by Evgeny Grebenyuk) -
v2.12.0 Changes
October 06, 2018β‘οΈ Update NUnit to 3.10.1.
β Add Arbitrary instance for XML encoded string. (by Stijn Moreels) -
v2.11.0 Changes
June 15, 2018DateTime now also generates kind and milliseconds (by Matthew Peacock)
β Removed EditorBrowsable.Never from all but the obsoleted methods. F# intellisense now also honors these attributes, and so they
π were hiding a bunch of methods unnecessarily. The upshot is that C# users will see more of the API that is F# specific. -
v2.10.10 Changes
May 15, 2018Gen.subListOf can now generate the entire given list, where previously it would always generate a strict sublist. (by MichaΕ Niegrzybowski)