FSharp.Hedgehog
FSharp.Hedgehog: A focused open-source choice for F# and C# teams using xUnit V3. Ranked #12 of 27 in Property-Based Testing Tools by our editors (8.2/10); pricing: Free plan; best for F# and C# teams using xUnit V3.
At a glance
- Editor score8.2 / 10
- PricingFree plan
- Best forF# and C# teams using xUnit V3
- Free planYes
- Paid fromFree
- Supported languagesF#, C#
- Facts checked20 Sep 2026

Where it wins
- Shrinks failing inputs to minimal counterexamples
- Supports composable and invariant-preserving generators
- Provides explicit seed control and shrink trees for debugging
Where it doesn't
- Test runner integration is focused on xUnit V3
- Its verified runner coverage is narrower than some .NET options
- The focus is on F# and C# within the .NET ecosystem
Our verdict on FSharp.Hedgehog
FSharp.Hedgehog is an open-source property-based testing library for .NET. It generates varied inputs for properties, then automatically shrinks failing inputs to smaller counterexamples. The library is intended for developers testing F#, C#, and other .NET code, with F# computation expressions and C# LINQ-based syntax. Its generator model supports structured and recursive data, numeric and collection ranges, automatic generation for common .NET types, and invariant-preserving generators.
For debugging and repeatability, FSharp.Hedgehog combines integrated shrinking with explicit seed control. A failing run can be reproduced deterministically through its seed controls, while shrink trees help developers inspect how a failing input was reduced. These capabilities fit teams that want property-based tests to produce understandable counterexamples rather than only varied test data. Composable generators also allow test inputs to be assembled for more structured domains, including recursive data.
The ecosystem fit is focused: the published integration is with xUnit V3, and the category positioning identifies its verified runner coverage as narrower than higher-ranked .NET options. That makes FSharp.Hedgehog a practical choice for F# and C# teams already using xUnit V3 and looking for generator composition, shrinking, and reproducible failures in an open-source library. Teams needing broader verified test-runner coverage should consider a .NET property-based testing option with wider runner support instead.
Your product? Our editors can test FSharp.Hedgehog in depth and publish a review, labelled as paid · from $99/mo →
FSharp.Hedgehog pricing
FSharp.Hedgehog fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Supported languages | F#, C# |
| Test runner support | xUnit V3 |
| Failing-case shrinking | Yes |
| Stateful testing | Not verified |
| Reproducible failures | Yes |
| Cases per run | Not verified |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 1 integrations: xUnit V3 |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
FSharp.Hedgehog integrations
FSharp.Hedgehog lists 1 integrations on its own site.
- xUnit V3
Alternatives to FSharp.Hedgehog
- fast-checkA deep, runner-agnostic testing library for JavaScript and TypeScript teams.9.4
- HypothesisA focused Python library for generated inputs, shrinking, and stateful tests.9.3
- ProptestA focused Rust framework for generated inputs, shrinking, replay, and stateful tests.9.1
See all FSharp.Hedgehog alternatives →
Used FSharp.Hedgehog? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used FSharp.Hedgehog for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
FSharp.Hedgehog is listed in our Property-Based Testing Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/fsharp-hedgehog/"><img src="https://www.itechguides.com/best/badge/fsharp-hedgehog.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


