Hacker News new | ask | show | jobs
by sfvisser 3085 days ago
Another great approach to generating notional data is using the Haskell QuickCheck library and specifically the Arbitrary type class. Super simple and extremely flexible/composable.

Probably also available in other languages.

2 comments

The ones I used and can recommend:

“hypothesis” package in Python (+pytest plugin)

“rapidcheck” in C++

“quickcheck” in Rust

good list for generating model data / fake data
testcheck is a JavaScript equivalent.