Eris vs FSharp.Hedgehog
Eris
github.comFSharp.Hedgehog
github.comSide by side
| Figure | Eris | FSharp.Hedgehog |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Self-hosted | Yes | — |
| Plans published | 0 | 0 |
| Spec score · Property-Based Testing Tools | 7.6 (#12) | 7.5 (#13) |
| Failure shrinking | When an assertion fails, Eris attempts to simplify the generated input and reports the simplest failing value it finds. | When a property fails, Hedgehog simplifies the failing input to find a smaller counterexample. |
| Generators | Its documented generators cover scalar values, collections, composite values, and domain-based values such as names and dates. | It includes generators for primitive values and composable operations for building generators for complex types. |
| Installation | The README gives Composer as the installation method and shows the command composer require --dev giorgiosironi/eris. | The opened project pages do not state a download or platform-specific installation method. |
| License | The repository identifies the project as MIT licensed. | The repository license is Apache License 2.0. |
| Purpose | Eris brings QuickCheck-style property-based testing to PHP and PHPUnit. | Hedgehog is a property-based testing system for .NET that automatically generates inputs to help find edge cases. |
| Reproducibility | When Eris is used outside PHPUnit, the documentation says reproducibility can be obtained by setting the ERIS_SEED environment variable. | Runs can be made deterministic using explicit seed control. |
| Support | The project invites users to open GitHub issues for support and feature requests. | The repository exposes GitHub Issues and Discussions for the project. |
In their own words
FSharp.Hedgehog
FSharp.Hedgehog has no write-up on Specifiction yet; its figures are above.