Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] [ANN] QCheck 0.1
@ 2013-10-07  8:35 Simon Cruanes
  2013-10-07  8:44 ` Francois Berenger
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Cruanes @ 2013-10-07  8:35 UTC (permalink / raw)
  To: OCaml users

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Hello,

I'm happy to announce the first release of a small QuickCheck
implementation for OCaml, named `QCheck`. It consists in writing
invariants as function t -> bool for some type t, and then checking that
the invariant holds on randomly generated instances of t.

QCheck is designed so that writing tests is as easy as possible[1],
especially for Arbitrary instances (the part where you generate random
values of a type) where it provides many combinators.

The library requires OCaml >= 4.00.1, and is available under the BSD
license on opam via:

    $ opam install qcheck

You can find documentation at:
http://cedeela.fr/~simon/software/qcheck/QCheck.html
source code at:
https://github.com/c-cube/qcheck
and some explanations here:
http://cedeela.fr/quickcheck-for-ocaml.html

Feedback or comments welcome!
Cheers,

-- 
Simon

[1] your mileage might vary ;)

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-07  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07  8:35 [Caml-list] [ANN] QCheck 0.1 Simon Cruanes
2013-10-07  8:44 ` Francois Berenger
2013-10-07  8:50   ` Simon Cruanes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox