hedgehog
Release with confidence, state-of-the-art property testing for Haskell. (by hedgehogqa)
fsharp-hedgehog-xunit
Hedgehog with convenience attributes for xUnit.net (by hedgehogqa)
hedgehog | fsharp-hedgehog-xunit | |
---|---|---|
3 | 3 | |
661 | 8 | |
0.2% | - | |
6.0 | 7.0 | |
6 days ago | 10 months ago | |
Haskell | F# | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hedgehog
Posts with mentions or reviews of hedgehog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-03.
-
Monthly Hask Anything (May 2022)
I've had some PRs open on hedgehog for one and two months respectively. It looks like the maintainer isn't currently very active, which is fair enough. This isn't about criticizing him, and I'm not trying to take over the repo.
-
Monthly Hask Anything (February 2022)
Testing libraries like hedgehog often run tests in parallel, so you may find related issues to work on.
-
Mutation Testing
Haskell has QuickCheck and Hedgehog, and dotnet has both as well. F# is favored, but there's C# interop.
fsharp-hedgehog-xunit
Posts with mentions or reviews of fsharp-hedgehog-xunit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-13.
-
Mutation Testing
I totally agree - the ability to write tests with random data is fantastic. Here's an example with Hedgehog.Xunit (shameless plug) that's somewhat similar to your gzip example in that it tests the inverse property of List.rev:
-
LPT: There is a library called Bogus, you should know it exists much earlier than I did in my career.
Disclaimer: I maintain Hedgehog.XUnit.
-
What are you working on? (2021-01)
I just "finished" building Hedgehog.Xunit, which adds some convenience attributes to Hedgehog, a property-based testing library similar to FsCheck. The distinguishing feature is that shrinking comes for free with Hedgehog, whereas you have to customize shrinkers in FsCheck. An blog comparing the two. There's also a cleaner API; no more Arb.
What are some alternatives?
When comparing hedgehog and fsharp-hedgehog-xunit you can also consider the following projects:
QuickCheck - Automatic testing of Haskell programs.
FsCheck - Random Testing for .NET
quickcheck-arbitrary-adt - Typeclass for generating a list of each instance of a sum type's constructors
AutoBogus - A C# library complementing the Bogus generator by adding auto creation and population capabilities.
Transmute - A sound change applier in F#
smallcheck - Test your Haskell code by exhaustively checking its properties
SAFE-SignalR-Feliz
quickcheck-instances - Instances for QuickCheck classes
tasty - Modern and extensible testing framework for Haskell
ghc-prof-flamegraph
quickcheck-state-machine - Test monadic programs using state machine based models
hedgehog vs QuickCheck
fsharp-hedgehog-xunit vs FsCheck
hedgehog vs quickcheck-arbitrary-adt
fsharp-hedgehog-xunit vs AutoBogus
hedgehog vs FsCheck
fsharp-hedgehog-xunit vs Transmute
hedgehog vs smallcheck
fsharp-hedgehog-xunit vs SAFE-SignalR-Feliz
hedgehog vs quickcheck-instances
hedgehog vs tasty
hedgehog vs ghc-prof-flamegraph
hedgehog vs quickcheck-state-machine