[Haskell-cafe] setting up property tests

Kostiantyn Rybnikov k-bx at k-bx.com
Thu Dec 10 12:59:38 UTC 2015


Are you struggling with getting a setup itself or with examples of
test-cases which would test your code well? If former -- I suggest looking
at framework called "tasty". Its readme has full working example of both
quick- and smallcheck.

8 груд. 2015 4:53 пп "Michael Litchard" <michael at schmong.org> пише:

> I've got a little project, based off of fizzbuzz, that I would like to
> write
> property tests for using either QuickCheck or SmallCheck.
> Could someone have a look at
> https://github.com/mlitchard/fizzbuzzfib/blob/master/src/FizzBuzz.hs and
> help me sort out how to write property tests?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151210/57657bf9/attachment.html>

More information about the Haskell-Cafe mailing list