{"id":13430517,"url":"https://github.com/fscheck/FsCheck","last_synced_at":"2025-03-16T05:31:16.595Z","repository":{"id":9030476,"uuid":"10790442","full_name":"fscheck/FsCheck","owner":"fscheck","description":"Random Testing for .NET","archived":false,"fork":false,"pushed_at":"2025-01-30T21:57:36.000Z","size":17628,"stargazers_count":1179,"open_issues_count":23,"forks_count":158,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-03-13T14:00:47.044Z","etag":null,"topics":["csharp","fscheck","fsharp","quickcheck","testing"],"latest_commit_sha":null,"homepage":"https://fscheck.github.io/FsCheck/","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fscheck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-06-19T11:46:46.000Z","updated_at":"2025-03-10T22:35:06.000Z","dependencies_parsed_at":"2023-01-13T15:07:38.116Z","dependency_job_id":"df9c2dfd-9649-487f-9e27-2744541fdc76","html_url":"https://github.com/fscheck/FsCheck","commit_stats":{"total_commits":1421,"total_committers":93,"mean_commits":"15.279569892473118","dds":0.3159746657283603,"last_synced_commit":"4df0c978609a94c0eebcc9139130f24eb95630ed"},"previous_names":["fsharp/fscheck"],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscheck%2FFsCheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscheck%2FFsCheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscheck%2FFsCheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscheck%2FFsCheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fscheck","download_url":"https://codeload.github.com/fscheck/FsCheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","fscheck","fsharp","quickcheck","testing"],"created_at":"2024-07-31T02:00:54.821Z","updated_at":"2025-03-16T05:31:16.021Z","avatar_url":"https://github.com/fscheck.png","language":"F#","readme":"\n# What is FsCheck?\n\nFsCheck is a tool for testing .NET programs automatically. The programmer provides a specification of the program, in the form of properties that functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. While writing the properties, you are writing a testable specification of your program. Specifications are expressed in F#, C# or VB, using combinators defined in the FsCheck library. FsCheck provides combinators to define properties, observe the distribution of test data, and define test data generators. When a property fails, FsCheck automatically displays a minimal counter-example.\n\nFsCheck is a port of Haskell's [QuickCheck](http://www.cse.chalmers.se/~rjmh/QuickCheck/). Important parts of the [manual](https://fscheck.github.io/FsCheck/) for using FsCheck are almost literally adapted from the QuickCheck [manual](http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html). Any errors and omissions are entirely my responsibility.\n\nSince v0.5, [scalacheck](https://github.com/rickynils/scalacheck) has influenced FsCheck as well. Scalacheck is itself a port of QuickCheck to Scala.\n\nFsCheck's generator combinators can be used in any testing framework to easily generate random values for many types, and FsCheck itself integrates nicely with existing unit testing frameworks such as NUnit, xUnit, MSTest and MbUnit.\n\n# Releases on Nuget\n\n* [FsCheck](http://nuget.org/List/Packages/FsCheck)\n* [FsCheck.Xunit](http://nuget.org/List/Packages/FsCheck.Xunit)\n* [FsCheck.Nunit](http://www.nuget.org/packages/FsCheck.Nunit/)\n\nFsCheck follows [Semantic Versioning 2.0.0](http://semver.org/spec/v2.0.0.html), except for the API exposed in `FsCheck.Experimental` which is subject to change at any time.\n\nAll AppVeyor builds are available using the NuGet feed: \u003chttps://ci.appveyor.com/nuget/fscheck\u003e\n\nIf using Paket, add the source at the top of `paket.dependencies`.\n\n```paket\nsource https://www.nuget.org/api/v2\nsource https://ci.appveyor.com/nuget/fscheck\n```\n\nSee the build history for a list of available versions: \u003chttps://ci.appveyor.com/project/kurtschelfthout/fscheck/history\u003e\n\nHere are some options for specifying the dependency:\n\n```paket\nnuget FsCheck\nnuget FsCheck prerelease\nnuget FsCheck 2.0.4\nnuget FsCheck 2.0.5-b247\n```\n\n# Documentation\n\n* [English](https://fscheck.github.io/FsCheck/)\n\n# Contributing\n\nPull requests are very welcome!\n\nCheck out the issues marked \"good first issue\" and \"help wanted\" if you need any inspiration.\n\nWe rarely reject PRs. If you intend to make a bigger change, it's better to open an issue first to discuss.\n\n## Development\n\nFsCheck uses standard .NET package management via NuGet and is built, tested and packaged via typical usage of `dotnet`.\n\nTo get started, check out the repository and run `dotnet build` to build. Use `dotnet test .\\tests\\FsCheck.Test\\` to run the tests. If that passes after you've changed some code, you are ready to send a Pull Request!\n\nFor Visual Studio/MonoDevelop/Xamarin Studio/VsCode: open (the folder that contains) FsCheck.sln and start coding. Building and running tests in IDEs should work out of the box.\n\nFsCheck uses a build script inspired by FAKE. Run `build.[cmd|sh] -t \u003cTarget\u003e` (or `dotnet fsi build.fsx -t \u003cTarget\u003e`) to do something. Important targets are:\n\n* `Build`: cleanly builds in Release mode.\n* `Tests`: builds and runs the tests.\n* `Docs`:  builds and generates documentation. FsCheck uses FSharp.Formatting, so literate fsx files in the docs folder.\n* `WatchDocs`: convenient when developing documentation - starts a local webserver and watches for changes in the docs folder.\n* `NuGetPack`: Creates NuGet packages.\n* `CI`: Target that is run on AppVeyor, basically all of the above.\n\n## CI\n\nAppVeyor [![Build status](https://ci.appveyor.com/api/projects/status/7ytaslpgxxtw7036/branch/master)](https://ci.appveyor.com/project/kurtschelfthout/fscheck)\n","funding_links":[],"categories":["Frameworks, Libraries and Tools","Testing","框架, 库和工具","测试","Identifiers"],"sub_categories":["Functional Programming","响应式编程","GUI - other","Performance Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscheck%2FFsCheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffscheck%2FFsCheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscheck%2FFsCheck/lists"}