Skip to content

purescript-spec/purescript-spec-quickcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-spec-quickcheck

purescript-spec-quickcheck is a tiny adapter between the purescript-spec test framework and purescript-quickcheck.

Usage

bower install purescript-spec-quickcheck
module Test.Main where import Prelude import Test.Spec (describe, it, pending) import Test.Spec.Node (runNode) import Test.Spec.Reporter.Console (consoleReporter) import Test.QuickCheck ((===), (/==)) import Test.Spec.QuickCheck (quickCheck) main = runNode [consoleReporter] do describe "Math" do it "works" $ quickCheck \n -> (n * 2 / 2) === n it "works again" $ quickCheck \n -> ((n + 1) * 2) /== n

API

See API.

Contribute

If you have any issues or possible improvements please file them as GitHub Issues. Pull requests requests are encouraged.

License

MIT License.

About

Adapter between purescript-spec and purescript-quickcheck

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11