FsCheck vs Hypothesis
FsCheck
fscheck.github.ioHypothesis
hypothesis.readthedocs.ioSide by side
| Figure | FsCheck | Hypothesis |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | — | Yes |
| Plans published | 1 | 5 |
| Spec score · Unit Testing Frameworks | 8.4 (#2) | 7.8 (#17) |
| Integrations | The project documents integrations with xUnit.net and NUnit, and user-created integrations with Expecto, Fuchu, AutoFixture and MSTest. | Hypothesis integrates with Canvas, Blackboard, Moodle, D2L Brightspace, and Sakai through LTI. |
| Purpose | FsCheck automatically tests .NET programs by checking properties against randomly generated cases. | Hypothesis adds collaborative annotations to digital readings so students can highlight passages, ask questions, and respond to peers in context. |
| Support | The project invites users to report issues on GitHub and says contributors may open issues about documentation problems or gaps. | The Free package includes self-service support; Bronze includes standard email support, and Gold includes premium support and a dedicated customer success manager. |
Plans
Hypothesis
- FreeFree
- BronzePrice not published
- Custom solutionPriced on request
- GoldPrice not published
- SilverPrice not published
In their own words
FsCheck
FsCheck checks properties of.NET programs against randomly generated cases. Developers can express properties in F#, C# or VB, then run them with the built-in runner from an interactive session, a command-line program or a test framework. Integrations are documented for xUnit.net and NUnit, with user-created integrations for Expecto, Fuchu, AutoFixture and MSTest. When a property fails, FsCheck shrinks the input and shows a minimal counterexample. Developers can also define custom generators and shrinkers and group them in Arbitrary instances. The library supports parameterized cases and parallel execution, and its packages and NUnit and xUnit.NET plugins are available from NuGet. FsCheck is free: its listed plan is free, with a BSD license permitting commercial and non-commercial modification and redistribution. It runs on Linux, macOS and Windows. The project maintains version 3.x, but its documentation covers 2.x and is described as out of date and incomplete. Its model-based testing API is experimental and exempt from semantic-versioning guarantees.
Hypothesis
Hypothesis has no write-up on Specifiction yet; its figures are above.