hedgehog-fakedata: Use 'fakedata' with 'hedgehog'

[ bsd3, library, testing ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.1.1, 0.0.1.2, 0.0.1.3, 0.0.1.4, 0.0.1.5
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), fakedata (>=0.1.0), hedgehog (>=0.1 && <1.3), random (>=1.0.0.0 && <1.3) [details]
License BSD-3-Clause
Copyright 2020 Matt Parsons
Author Matt Parsons
Maintainer parsonsmatt@gmail.com
Revised Revision 1 made by parsonsmatt at 2022-08-31T16:01:36Z
Category Testing
Home page https://github.com/parsonsmatt/hedgehog-fakedata#readme
Bug tracker https://github.com/parsonsmatt/hedgehog-fakedata/issues
Source repo head: git clone https://github.com/parsonsmatt/hedgehog-fakedata
Uploaded by parsonsmatt at 2022-01-31T04:03:57Z
Distributions LTSHaskell:0.0.1.5, NixOS:0.0.1.5, Stackage:0.0.1.5
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1500 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-01-31 [all 1 reports]

Readme for hedgehog-fakedata-0.0.1.5

[back to package description]

hedgehog-faker

Build Status Hackage-Deps

This library lets you re-use the fakedata library to quickly and easily generate fake data for use in hedgehog generators.

import qualified Hedgehog.Gen as Gen
import qualified Faker.Name as Faker
import           Hedgehog.Gen.Faker (fake)

main :: IO ()
main = do
    print =<< Gen.sample (fake Faker.name)