fake alternatives and similar packages
Based on the "Data" category
Do you think we are missing an alternative of fake or a related project?
Fake is a Haskell package for generating realistic-looking fake data.
The package has three main components:
- Analogs to QuickCheck's Arbitrary and Gen that use realistic probability distributions rather than the more uniform distributions used by QuickCheck.
- A [generic coverage function](src/Fake/Cover.hs#L114) that generates [full constructor coverage](test/Main.hs#L32) over a data type.
- A [suite of providers](src/Fake/Provider) for common types of data such as names, addresses, phone numbers, ID numbers, etc.
gcover function is particularly useful with the armor
package for ensuring that all
constructors of your data types are tested for backwards compatible
serializations without having to write all the values yourself. This allows
you to get higher confidence that you have covered most of the important cases
without the combinatorial explosion of exhaustive testing.
Original inspiration came from the production needs of Formation (previously Takt).