Hedgehog for .NET
December 2, 2025 ยท View on GitHub
Hedgehog for .NET
Hedgehog explores a wide range of inputs and shrinks failures to minimal, valid examples. It works with any .NET test framework and can be used from F#, C#, or other .NET languages.
Features
- Shrinking that preserves invariants by construction.
genandpropertyexpressions for concise generators and properties.- Range combinators for controlled numeric and collection generation.
- Composable generators for structured and recursive data types.
- Deterministic runs via explicit seed control.
- Shrink trees available for debugging.
- and additional helpers for complex data generation.